Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index 0ec32fb473ab8575c5086aab1f3a71f55ff2f6d6..3ed61fa4ef970e59c962715ec0a9bff353af4d0a 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1670,7 +1670,7 @@ void WebLocalFrameImpl::createFrameView() |
if (isLocalRoot) |
webView->suppressInvalidations(true); |
- frame()->createView(webView->size(), webView->baseBackgroundColor(), webView->isTransparent()); |
+ frame()->createView(webView->mainFrameSize(), webView->baseBackgroundColor(), webView->isTransparent()); |
if (webView->shouldAutoResize() && isLocalRoot) |
frame()->view()->enableAutoSizeMode(webView->minAutoSize(), webView->maxAutoSize()); |