Bug 1159579: Make IntervalSet destructor virtual r=mattwoodrow
authorJean-Yves Avenard <jyavenard@mozilla.com>
Thu, 07 May 2015 21:04:29 +1000
changeset 242702 be86aaa6bd75ec0d054587625d52dc839fb81509
parent 242701 67f9e438210c902f60c806b6216c6d347b2c4550
child 242703 1c04b9a3e1c6052bbc53bb453d9f0015a8e622a1
push id59485
push userjyavenard@mozilla.com
push dateThu, 07 May 2015 11:08:01 +0000
treeherdermozilla-inbound@be86aaa6bd75 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow
bugs1159579
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1159579: Make IntervalSet destructor virtual r=mattwoodrow
dom/media/Intervals.h
--- a/dom/media/Intervals.h
+++ b/dom/media/Intervals.h
@@ -190,17 +190,17 @@ public:
   typedef IntervalSet<T> SelfType;
   typedef Interval<T> ElemType;
   typedef nsAutoTArray<ElemType,4> ContainerType;
   typedef typename ContainerType::index_type IndexType;
 
   IntervalSet()
   {
   }
-  ~IntervalSet()
+  virtual ~IntervalSet()
   {
   }
 
   IntervalSet(const SelfType& aOther)
     : mIntervals(aOther.mIntervals)
   {
   }