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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.cpp

Issue 2858963002: Replace ASSERT with DCHECK in core/ (Closed)
Patch Set: WorkerBackingThread Created 3 years, 7 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/frame/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index 32be070c8763265800bb3e769c9e5bf8dd38bd8d..615977dae8bbed12fabeac6b84b08b47a602768b 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -442,7 +442,7 @@ void VisualViewport::SetupScrollbar(WebScrollbar::Orientation orientation) {
if (!web_scrollbar_layer) {
ScrollingCoordinator* coordinator = GetPage().GetScrollingCoordinator();
- ASSERT(coordinator);
+ DCHECK(coordinator);
ScrollbarOrientation webcore_orientation =
is_horizontal ? kHorizontalScrollbar : kVerticalScrollbar;
web_scrollbar_layer = coordinator->CreateSolidColorScrollbarLayer(

Powered by Google App Engine
This is Rietveld 408576698