Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm

Issue 2394683005: Remove ASSERT_UNUSED (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
diff --git a/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm b/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
index 4cbe74040d282f878adfc65b47b59bbfa80e2871..d9f32d0ffcb73da3033f8099f8af651411817fb1 100644
--- a/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
+++ b/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm
@@ -485,8 +485,7 @@ class BlinkScrollbarPartAnimationTimer {
if (!_scrollbar)
return NSZeroPoint;
- ASSERT_UNUSED(scrollerImp,
- scrollerImp == scrollbarPainterForScrollbar(*_scrollbar));
+ DCHECK_EQ(scrollerImp, scrollbarPainterForScrollbar(*_scrollbar));
return _scrollbar->convertFromContainingWidget(
_scrollbar->getScrollableArea()->lastKnownMousePosition());

Powered by Google App Engine
This is Rietveld 408576698