| 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 c2cabc0dd9253e75afb1457587dac5149a497c9e..f0043546ddae745bbecaea6fb31ea46858bde496 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -1863,7 +1863,8 @@ void WebViewImpl::resizeViewWhileAnchored(FrameView* view)
|
|
|
| // Update lifecyle phases immediately to recalculate the minimum scale limit for rotation anchoring,
|
| // and to make sure that no lifecycle states are stale if this WebView is embedded in another one.
|
| - updateAllLifecyclePhases();
|
| + if (!view->frame().document()->isInitialEmptyDocument())
|
| + updateAllLifecyclePhases();
|
| }
|
|
|
| void WebViewImpl::resize(const WebSize& newSize)
|
|
|