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

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

Issue 2892283002: Speculative fix for crasher. (Closed)
Patch Set: 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/ResizeViewportAnchor.cpp
diff --git a/third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp b/third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp
index 445d705ce230c74c30720d588a71300f77c3a59b..dcacc1ac53ee149fcd0d27ab20e8814e8c0fef0b 100644
--- a/third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp
+++ b/third_party/WebKit/Source/core/frame/ResizeViewportAnchor.cpp
@@ -15,7 +15,7 @@ namespace blink {
void ResizeViewportAnchor::ResizeFrameView(IntSize size) {
FrameView* frame_view = RootFrameView();
- DCHECK(frame_view);
+ SECURITY_CHECK(frame_view);
pdr. 2017/05/19 22:47:50 Is this actually related to security? If not, what
szager 2017/05/19 22:52:39 Done.
dcheng 2017/05/19 22:55:08 If this absolutely must be a CHECK(), it should be
szager 2017/05/19 23:04:40 Done.
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') | third_party/WebKit/Source/web/WebAXObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698