Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 1a4e1347d9ad6369c6192253ed2a42b385cbc654..8db62ead4bf07dac4089c32d8a456a75839ee285 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -1595,7 +1595,7 @@ void WebViewImpl::resize(const WebSize& newSize) |
m_size = newSize; |
bool shouldAnchorAndRescaleViewport = settings()->mainFrameResizesAreOrientationChanges() |
- && oldSize.width && oldContentsWidth && newSize.width != oldSize.width; |
+ && oldSize.width && oldContentsWidth && newSize.width != oldSize.width && !m_fullscreenController->isFullscreen(); |
ViewportAnchor viewportAnchor(&mainFrameImpl()->frame()->eventHandler()); |
if (shouldAnchorAndRescaleViewport) { |