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

Unified Diff: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase 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/platform/scroll/Scrollbar.cpp
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
index fe31bb28925a3d77f3fa771e98ed977210022d84..65b7f5cd8befd856319fdda1cde2b40c1718de00 100644
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
@@ -121,7 +121,7 @@ bool Scrollbar::IsLeftSideVerticalScrollbar() const {
}
void Scrollbar::OffsetDidChange() {
- ASSERT(scrollable_area_);
+ DCHECK(scrollable_area_);
float position = ScrollableAreaCurrentPos();
if (position == current_pos_)

Powered by Google App Engine
This is Rietveld 408576698