Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index fac62137f762205fd29b99d451e434b7d106d404..91352073460b903d6e7171c1f02bc36e38fcbe70 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -81,7 +81,6 @@ |
#include "core/page/PointerLockController.h" |
#include "core/page/ScopedPageLoadDeferrer.h" |
#include "core/page/TouchDisambiguation.h" |
-#include "core/rendering/RenderFullScreen.h" |
#include "core/rendering/RenderPart.h" |
#include "core/rendering/RenderView.h" |
#include "core/rendering/TextAutosizer.h" |
@@ -1759,8 +1758,7 @@ void WebViewImpl::resize(const WebSize& newSize) |
performResize(); |
} |
- if (m_fullscreenController->isFullscreen()) |
- Fullscreen::from(*view->frame().document()).fullScreenRenderer()->updateStyle(); |
+ m_fullscreenController->updateSize(); |
if (settings()->viewportEnabled()) { |
// Relayout immediately to recalculate the minimum scale limit. |