ASSERTION FAILED: scrollerImp == scrollbarPainterForScrollbar(_scrollbar) on two...
[WebKit-https.git] / Source / WebCore / platform / mac / ScrollAnimatorMac.mm
index 177868b..e6c45d4 100644 (file)
@@ -464,11 +464,11 @@ enum FeatureToAnimate {
 
 - (BOOL)shouldUseLayerPerPartForScrollerImp:(id)scrollerImp
 {
+    UNUSED_PARAM(scrollerImp);
+
     if (!_scrollbar)
         return false;
 
-    ASSERT_UNUSED(scrollerImp, scrollerImp == scrollbarPainterForScrollbar(_scrollbar));
-
     return _scrollbar->supportsUpdateOnSecondaryThread();
 }