| 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 1003da0baa19d8ad7a765dcef8c7f0cb24c73c98..30d37eb148d2eb45eed04007a1f343dbf575a529 100644
|
| --- a/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
|
| @@ -1902,9 +1902,9 @@ void WebViewImpl::resizeViewWhileAnchored(FrameView* view)
|
|
|
| m_fullscreenController->updateSize();
|
|
|
| - // Relayout immediately to recalculate the minimum scale limit for rotation anchoring.
|
| - if (view->needsLayout())
|
| - view->layout();
|
| + // 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();
|
| }
|
|
|
| void WebViewImpl::resize(const WebSize& newSize)
|
|
|