summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/ChromeClientImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/ChromeClientImpl.cpp')
-rw-r--r--Source/WebKit/chromium/src/ChromeClientImpl.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/WebKit/chromium/src/ChromeClientImpl.cpp b/Source/WebKit/chromium/src/ChromeClientImpl.cpp
index 8808e5d6a..70d565c2e 100644
--- a/Source/WebKit/chromium/src/ChromeClientImpl.cpp
+++ b/Source/WebKit/chromium/src/ChromeClientImpl.cpp
@@ -586,15 +586,6 @@ void ChromeClientImpl::contentsSizeChanged(Frame* frame, const IntSize& size) co
void ChromeClientImpl::layoutUpdated(Frame* frame) const
{
-#if ENABLE(VIEWPORT)
- if (!m_webView->isPageScaleFactorSet() && frame == frame->page()->mainFrame()) {
- // If the page does not have a viewport tag, then compute a scale
- // factor to make the page width fit the device width based on the
- // default viewport parameters.
- ViewportArguments viewport = frame->document()->viewportArguments();
- dispatchViewportPropertiesDidChange(viewport);
- }
-#endif
m_webView->layoutUpdated(WebFrameImpl::fromFrame(frame));
}