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

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

Issue 2892283002: Speculative fix for crasher. (Closed)
Patch Set: Add TODO's 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebAXObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp
diff --git a/third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp b/third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp
index 445d705ce230c74c30720d588a71300f77c3a59b..0fb16954026d98c268b26e2379243b643d2ff0c0 100644
--- a/third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp
+++ b/third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp
@@ -15,7 +15,8 @@ namespace blink {
void ResizeViewportAnchor::ResizeFrameView(IntSize size) {
FrameView* frame_view = RootFrameView();
- DCHECK(frame_view);
+ // TODO(szager): Remove this CHECK if it doesn't show up in crash reports.
+ CHECK(frame_view);
ScrollableArea* root_viewport = frame_view->GetScrollableArea();
ScrollOffset offset = root_viewport->GetScrollOffset();
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebAXObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698