Bug 1265825 - Remove mSuppressionActive assert. r=kats
authorBenoit Girard <b56girard@gmail.com>
Fri, 22 Apr 2016 11:45:35 -0400
changeset 332443 5554679e1574dee489253aaaa6c2e1320d9aceba
parent 332442 4c44e98174729f00f5ed975e2587c86684581568
child 332444 9f69fc58466ed28fd178c3328995cb5082dab809
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [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