Changeset 118895 in webkit
- Timestamp:
- May 29, 2012 11:17:46 PM (12 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r118850 r118895 3359 3359 { 3360 3360 static const ViewportArguments defaultViewportArguments; 3361 if (m_viewportArguments == defaultViewportArguments) 3361 if (m_viewportArguments == defaultViewportArguments) { 3362 m_page->setDeviceScaleFactor(1.0); 3362 3363 return IntSize(); 3364 } 3363 3365 3364 3366 int desktopWidth = defaultMaxLayoutSize().width(); … … 3398 3400 void WebPagePrivate::dispatchViewportPropertiesDidChange(const ViewportArguments& arguments) 3399 3401 { 3400 static ViewportArguments defaultViewportArguments; 3401 if (arguments == defaultViewportArguments) 3402 if (arguments == m_viewportArguments) 3402 3403 return; 3403 3404 -
trunk/Source/WebKit/blackberry/ChangeLog
r118850 r118895 1 2012-05-29 Max Feil <mfeil@rim.com> 2 3 [BlackBerry] The Page's deviceScaleFactor() is not being properly maintained 4 https://bugs.webkit.org/show_bug.cgi?id=87817 5 6 Reviewed by Antonio Gomes. 7 8 This bug fix in WebKit/blackberry is needed by the changes for 9 fullscreen media control sizing in WebCore (bug 87551). The sizing 10 of controls depends on the page's deviceScaleFactor(), which was 11 not being maintained properly due to errors in logic. Viewport 12 changes from non-default to default were being erroneously 13 thrown out. Also, when the viewport did change back to default 14 the deviceScaleFactor was not being updated. 15 16 * Api/WebPage.cpp: 17 (BlackBerry::WebKit::WebPagePrivate::recomputeVirtualViewportFromViewportArguments): 18 (BlackBerry::WebKit::WebPagePrivate::dispatchViewportPropertiesDidChange): 19 1 20 2012-05-29 Arvid Nilsson <anilsson@rim.com> 2 21
Note: See TracChangeset
for help on using the changeset viewer.