Title: [137593] trunk/Source/WebKit2
Revision
137593
Author
[email protected]
Date
2012-12-13 07:09:53 -0800 (Thu, 13 Dec 2012)

Log Message

[EFL][WK2] Device pixel ratio lost upon relaunch of the web process
https://bugs.webkit.org/show_bug.cgi?id=104913

Reviewed by Simon Hausmann.

Use setIntrinsicDeviceScaleFactor instead of setCustomDeviceScaleFactor
when setting the device pixel ratio to make the setting permanent and
make sure it is set as part of the web process creation parameters.

* UIProcess/API/efl/ewk_view.cpp:
(ewk_view_device_pixel_ratio_set):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (137592 => 137593)


--- trunk/Source/WebKit2/ChangeLog	2012-12-13 15:09:29 UTC (rev 137592)
+++ trunk/Source/WebKit2/ChangeLog	2012-12-13 15:09:53 UTC (rev 137593)
@@ -1,3 +1,17 @@
+2012-12-13  Kenneth Rohde Christiansen  <[email protected]>
+
+        [EFL][WK2] Device pixel ratio lost upon relaunch of the web process
+        https://bugs.webkit.org/show_bug.cgi?id=104913
+
+        Reviewed by Simon Hausmann.
+
+        Use setIntrinsicDeviceScaleFactor instead of setCustomDeviceScaleFactor
+        when setting the device pixel ratio to make the setting permanent and
+        make sure it is set as part of the web process creation parameters.
+
+        * UIProcess/API/efl/ewk_view.cpp:
+        (ewk_view_device_pixel_ratio_set):
+
 2012-12-13  Jerome Pasion  <[email protected]>
 
         [Qt] Doc: Fixing Qt WebKit reference documentation.

Modified: trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp (137592 => 137593)


--- trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp	2012-12-13 15:09:29 UTC (rev 137592)
+++ trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp	2012-12-13 15:09:53 UTC (rev 137593)
@@ -639,7 +639,7 @@
 {
     EWK_VIEW_IMPL_GET_OR_RETURN(ewkView, impl, false);
 
-    impl->page()->setCustomDeviceScaleFactor(ratio);
+    impl->page()->setIntrinsicDeviceScaleFactor(ratio);
 
     return true;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to