Index: Source/WebKit/chromium/src/WebFrameImpl.cpp |
=================================================================== |
--- Source/WebKit/chromium/src/WebFrameImpl.cpp (revision 104469) |
+++ Source/WebKit/chromium/src/WebFrameImpl.cpp (working copy) |
@@ -2088,7 +2088,7 @@ |
WebViewImpl* webView = viewImpl(); |
m_frame->createView(webView->size(), Color::white, webView->isTransparent(), webView->fixedLayoutSize(), webView->isFixedLayoutModeEnabled()); |
- if (webView->shouldAutoResize()) |
+ if (webView->shouldAutoResize() && isMainFrame) |
m_frame->view()->enableAutoSizeMode(true, webView->minAutoSize(), webView->maxAutoSize()); |
#if ENABLE(GESTURE_RECOGNIZER) |