Title: [98494] trunk/Source/WebKit2
Revision
98494
Author
[email protected]
Date
2011-10-26 10:06:03 -0700 (Wed, 26 Oct 2011)

Log Message

Use the right contents scale factor for non-Mac plug-ins
https://bugs.webkit.org/show_bug.cgi?id=70939

Reviewed by Adam Roben.

* WebProcess/Plugins/PluginProxy.cpp:
(WebKit::PluginProxy::paint):
(WebKit::PluginProxy::geometryDidChange):
(WebKit::PluginProxy::update):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (98493 => 98494)


--- trunk/Source/WebKit2/ChangeLog	2011-10-26 17:05:37 UTC (rev 98493)
+++ trunk/Source/WebKit2/ChangeLog	2011-10-26 17:06:03 UTC (rev 98494)
@@ -1,3 +1,15 @@
+2011-10-26  Anders Carlsson  <[email protected]>
+
+        Use the right contents scale factor for non-Mac plug-ins
+        https://bugs.webkit.org/show_bug.cgi?id=70939
+
+        Reviewed by Adam Roben.
+
+        * WebProcess/Plugins/PluginProxy.cpp:
+        (WebKit::PluginProxy::paint):
+        (WebKit::PluginProxy::geometryDidChange):
+        (WebKit::PluginProxy::update):
+
 2011-10-26  Carlos Garcia Campos  <[email protected]>
 
         [GTK] Add missing symbols to WebKit2 gtk-doc files

Modified: trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp (98493 => 98494)


--- trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp	2011-10-26 17:05:37 UTC (rev 98493)
+++ trunk/Source/WebKit2/WebProcess/Plugins/PluginProxy.cpp	2011-10-26 17:06:03 UTC (rev 98494)
@@ -138,7 +138,7 @@
 #if PLATFORM(MAC)
     float contentsScaleFactor = controller()->contentsScaleFactor();
 #else
-    float contentsScaleFactor = 0;
+    float contentsScaleFactor = 1;
 #endif
 
     if (!m_pluginBackingStoreContainsValidData) {
@@ -189,7 +189,7 @@
 #if PLATFORM(MAC)
     float contentsScaleFactor = controller()->contentsScaleFactor();
 #else
-    float contentsScaleFactor = 0;
+    float contentsScaleFactor = 1;
 #endif
 
     if (m_frameRect.isEmpty() || !needsBackingStore()) {
@@ -541,7 +541,7 @@
 #if PLATFORM(MAC)
         float contentsScaleFactor = controller()->contentsScaleFactor();
 #else
-        float contentsScaleFactor = 0;
+        float contentsScaleFactor = 1;
 #endif
 
         // Blit the plug-in backing store into our own backing store.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to