Title: [111738] trunk/Source/WebKit2
Revision
111738
Author
[email protected]
Date
2012-03-22 11:53:45 -0700 (Thu, 22 Mar 2012)

Log Message

Revert back the device DPI to 160.

This corresponds to a device pixel ratio of 1, which
is nicer on the eye in many cases.

Rubber-stamped by Kenneth Rohde Christiansen.

* UIProcess/API/qt/qquickwebview.cpp:
(QQuickWebViewFlickablePrivate::computeViewportConstraints):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (111737 => 111738)


--- trunk/Source/WebKit2/ChangeLog	2012-03-22 18:50:31 UTC (rev 111737)
+++ trunk/Source/WebKit2/ChangeLog	2012-03-22 18:53:45 UTC (rev 111738)
@@ -1,3 +1,15 @@
+2012-03-22  Pierre Rossi  <[email protected]>
+
+        Revert back the device DPI to 160.
+
+        This corresponds to a device pixel ratio of 1, which
+        is nicer on the eye in many cases.
+
+        Rubber-stamped by Kenneth Rohde Christiansen.
+
+        * UIProcess/API/qt/qquickwebview.cpp:
+        (QQuickWebViewFlickablePrivate::computeViewportConstraints):
+
 2012-03-22  Alexander Færøy  <[email protected]>
 
         [Qt][WK2] Remember to initialize databaseQuotaDialog

Modified: trunk/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp (111737 => 111738)


--- trunk/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp	2012-03-22 18:50:31 UTC (rev 111737)
+++ trunk/Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp	2012-03-22 18:53:45 UTC (rev 111738)
@@ -688,7 +688,7 @@
     WebPreferences* wkPrefs = webPageProxy->pageGroup()->preferences();
 
     // FIXME: Remove later; Hardcode a value for now to make sure the DPI adjustment is being tested.
-    wkPrefs->setDeviceDPI(240);
+    wkPrefs->setDeviceDPI(160);
 
     wkPrefs->setDeviceWidth(availableSize.width());
     wkPrefs->setDeviceHeight(availableSize.height());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to