Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index e2c21cc952e1a42bf5d9c046f4bdd8f383304559..e472350b6590e63058ff8d1cf82c8a652e777e1e 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -3523,7 +3523,7 @@ IntSize WebViewImpl::contentsSize() const |
WebSize WebViewImpl::contentsPreferredMinimumSize() |
{ |
if (mainFrameImpl()) |
- mainFrameImpl()->frame()->view()->updateLifecycleToCompositingCleanPlusScrolling(); |
+ mainFrameImpl()->frame()->view()->updateAllLifecyclePhasesExceptPaint(); |
Document* document = m_page->mainFrame()->isLocalFrame() ? m_page->deprecatedLocalMainFrame()->document() : nullptr; |
if (!document || document->layoutViewItem().isNull() || !document->documentElement() || !document->documentElement()->layoutBox()) |