Chromium Code Reviews| 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 e390f65c133053acb95835af5db9f7b6406b5f99..184225e8b446f68772b0b46eceb1a22830813178 100644 |
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
| @@ -1859,7 +1859,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()) |
|
tkent
2016/02/19 00:43:40
Is this necessary?
|
| + updateAllLifecyclePhases(); |
| } |
| void WebViewImpl::resize(const WebSize& newSize) |