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

Unified Diff: third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp

Issue 2770123003: Replace ASSERT with DCHECK in core/layout/ excluding subdirs (Closed)
Patch Set: Split some DCHECKs and add DCHECK_ops wherever possible Created 3 years, 8 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/core/layout/ScrollAnchorTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp b/third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp
index cabc309136a07745daf5944b7ba10ddf82f79f75..f3ba24ae9ac7e336b80588271d9453b9cefb22cc 100644
--- a/third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp
+++ b/third_party/WebKit/Source/core/layout/ScrollAnchorTest.cpp
@@ -50,7 +50,7 @@ class ScrollAnchorTest
}
ScrollAnchor& scrollAnchor(ScrollableArea* scroller) {
- ASSERT(scroller->isFrameView() || scroller->isPaintLayerScrollableArea());
+ DCHECK(scroller->isFrameView() || scroller->isPaintLayerScrollableArea());
return *(scroller->scrollAnchor());
}

Powered by Google App Engine
This is Rietveld 408576698