Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 7f6775e22c3486d7aa8d72b3b8f70bf9e34103d0..5216db1a4b6d571e66d5f365ad2fa9ad2935e0f2 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -3476,7 +3476,10 @@ void WebViewImpl::configureAutoResizeMode() |
if (!mainFrameImpl() || !mainFrameImpl()->frame() || !mainFrameImpl()->frame()->view()) |
return; |
- mainFrameImpl()->frame()->view()->enableAutoSizeMode(m_shouldAutoResize, m_minAutoSize, m_maxAutoSize); |
+ if (m_shouldAutoResize) |
+ mainFrameImpl()->frame()->view()->enableAutoSizeMode(m_minAutoSize, m_maxAutoSize); |
+ else |
+ mainFrameImpl()->frame()->view()->disableAutoSizeMode(); |
} |
unsigned long WebViewImpl::createUniqueIdentifierForRequest() |