| Index: third_party/WebKit/Source/web/FullscreenController.cpp
|
| diff --git a/third_party/WebKit/Source/web/FullscreenController.cpp b/third_party/WebKit/Source/web/FullscreenController.cpp
|
| index 4380a01fb2d69c41051ae38c536576db7c821aac..0b18ba9f89ed892b4dc55fa6450d6e01872bebb3 100644
|
| --- a/third_party/WebKit/Source/web/FullscreenController.cpp
|
| +++ b/third_party/WebKit/Source/web/FullscreenController.cpp
|
| @@ -127,6 +127,10 @@ void FullscreenController::didExitFullscreen() {
|
| // restore scroll offsets since content may not be overflowing in the same way
|
| // until they are.
|
| m_state = State::NeedsScrollAndScaleRestore;
|
| +
|
| + // https://crbug.com/698315: Force a layout to avoid race with resize event
|
| + // caused by ViewMsg_Resize, which is sent when browser exits fullscreen mode.
|
| + m_webViewImpl->updateAllLifecyclePhases();
|
| }
|
|
|
| void FullscreenController::enterFullscreen(LocalFrame& frame) {
|
|
|