Bug 1265825 - Remove mSuppressionActive assert. r=kats
authorBenoit Girard <b56girard@gmail.com>
Fri, 22 Apr 2016 11:45:35 -0400
changeset 294510 5554679e1574dee489253aaaa6c2e1320d9aceba
parent 294509 4c44e98174729f00f5ed975e2587c86684581568
child 294511 9f69fc58466ed28fd178c3328995cb5082dab809
push id75569
push userb56girard@gmail.com
push dateFri, 22 Apr 2016 16:50:39 +0000
treeherdermozilla-inbound@5554679e1574 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1265825
milestone48.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 1265825 - Remove mSuppressionActive assert. r=kats MozReview-Commit-ID: I84IfyxwusB
layout/xul/nsSliderFrame.cpp
--- a/layout/xul/nsSliderFrame.cpp
+++ b/layout/xul/nsSliderFrame.cpp
@@ -88,17 +88,16 @@ nsSliderFrame::nsSliderFrame(nsStyleCont
   mScrollingWithAPZ(false),
   mSuppressionActive(false)
 {
 }
 
 // stop timer
 nsSliderFrame::~nsSliderFrame()
 {
-  MOZ_ASSERT(!mSuppressionActive, "Should have un-suppress via StopDrag() first.");
   if (mSuppressionActive) {
     APZCCallbackHelper::SuppressDisplayport(false, PresContext() ?
                                                    PresContext()->PresShell() :
                                                    nullptr);
   }
 }
 
 void