Bug 1265825 - Remove mSuppressionActive assert. r=kats a=ritu
authorBenoit Girard <b56girard@gmail.com>
Fri, 22 Apr 2016 11:45:35 -0400
changeset 324174 bd61104c52b815cffaf1561552d3e24778260157
parent 324173 28738ca1f22a1b2d80121a62b63d840994672f5d
child 324175 5a86ed5f7b6443210a9ade3945c87f91f1f86ba3
push id5926
push userkwierso@gmail.com
push dateFri, 29 Apr 2016 21:00:39 +0000
treeherdermozilla-beta@362b8365615b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats, ritu
bugs1265825
milestone47.0
Bug 1265825 - Remove mSuppressionActive assert. r=kats a=ritu 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