Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 86c2479776e064a3dae50b827773ccfb6bb68ff0..91352073460b903d6e7171c1f02bc36e38fcbe70 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -38,6 +38,7 @@ |
#include "core/clipboard/DataObject.h" |
#include "core/dom/Document.h" |
#include "core/dom/DocumentMarkerController.h" |
+#include "core/dom/Fullscreen.h" |
#include "core/dom/NodeRenderingTraversal.h" |
#include "core/dom/Text.h" |
#include "core/editing/Editor.h" |
@@ -1757,6 +1758,8 @@ void WebViewImpl::resize(const WebSize& newSize) |
performResize(); |
} |
+ m_fullscreenController->updateSize(); |
+ |
if (settings()->viewportEnabled()) { |
// Relayout immediately to recalculate the minimum scale limit. |
if (view->needsLayout()) |