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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 132913002: Harden the machinery around updateWidgetPositions() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add FIXME Created 6 years, 11 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 | « Source/core/rendering/RenderWidget.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index f30cd86ec18a4df2a92b78269832ff99fa187fdc..7cc5933f009e0d2bfe45dc27c4a587c58976b285 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -2902,7 +2902,7 @@ void WebViewImpl::updateMainFrameLayoutSize()
if (m_fixedLayoutSizeLock || !mainFrameImpl())
return;
- FrameView* view = mainFrameImpl()->frameView();
+ RefPtr<FrameView> view = mainFrameImpl()->frameView();
if (!view)
return;
@@ -2998,7 +2998,7 @@ void WebViewImpl::setFixedLayoutSize(const WebSize& layoutSize)
if (!frame)
return;
- FrameView* view = frame->view();
+ RefPtr<FrameView> view = frame->view();
if (!view)
return;
« no previous file with comments | « Source/core/rendering/RenderWidget.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698