-
commit-queue@webkit.org authored
[Chromium] defaultDeviceScaleFactor != 0 should set deviceScaleFactor = defaultDeviceScaleFactor in the absence of a viewport tag for debugging purposes https://bugs.webkit.org/show_bug.cgi?id=82757 Patch by Tim Dresser <tdresser@chromium.org> on 2012-04-10 Reviewed by Darin Fisher. If there is no viewport tag, the deviceScaleFactor is set to the defaultDeviceScaleFactor. Tested by: WebFrameTest.DeviceScaleFactorUsesDefaultWithoutViewportTag. * src/ChromeClientImpl.cpp: (WebKit): (WebKit::ChromeClientImpl::dispatchViewportPropertiesDidChange): * tests/WebFrameTest.cpp: (WebKit): (FixedLayoutTestWebViewClient): (WebKit::TEST_F): * tests/data/no_viewport_tag.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3f2c34e3