[BlackBerry] Change how devicePixelRatio is set.
authorkpiascik@rim.com <kpiascik@rim.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2012 21:31:32 +0000 (21:31 +0000)
committerkpiascik@rim.com <kpiascik@rim.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 7 Aug 2012 21:31:32 +0000 (21:31 +0000)
commitc6a1db8a991b07ffd806b919babf2ff7b4fac722
tree1fa9ea07e2e90511f03e42cb0412fd91c70765c9
parent4b7c5548f6f8206661de9b22cba54e4cfe512434
[BlackBerry] Change how devicePixelRatio is set.
https://bugs.webkit.org/show_bug.cgi?id=93385

Reviewed by Antonio Gomes.

Source/WebCore:

Update the theme to adjust to a constant devicePixelRatio.

Not testable.

* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore::determineFullScreenMultiplier):

Source/WebKit/blackberry:

Change devicePixelRatio to be set immediately after the page is created based
on the WebSetting.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):
(BlackBerry::WebKit::WebPagePrivate::recomputeVirtualViewportFromViewportArguments):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@124918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp
Source/WebKit/blackberry/Api/WebPage.cpp
Source/WebKit/blackberry/ChangeLog