[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-10851-g50815da

andersca at apple.com andersca at apple.com
Wed Dec 22 17:56:02 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 16df31077df0b180a5ce068971ea7423e786e5bb
Author: andersca at apple.com <andersca at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 2 21:49:11 2010 +0000

    Flash videos on YouTube flicker
    https://bugs.webkit.org/show_bug.cgi?id=50409
    <rdar://problem/8668757>
    
    Reviewed by Sam Weinig.
    
    When painting from a backing store, we need to add the source location
    to the destination point.
    
    * WebProcess/Plugins/PluginProxy.cpp:
    (WebKit::PluginProxy::paint):
    (WebKit::PluginProxy::update):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73195 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit2/ChangeLog b/WebKit2/ChangeLog
index 76d306e..621ab7b 100644
--- a/WebKit2/ChangeLog
+++ b/WebKit2/ChangeLog
@@ -1,3 +1,18 @@
+2010-12-02  Anders Carlsson  <andersca at apple.com>
+
+        Reviewed by Sam Weinig.
+
+        Flash videos on YouTube flicker
+        https://bugs.webkit.org/show_bug.cgi?id=50409
+        <rdar://problem/8668757>
+
+        When painting from a backing store, we need to add the source location
+        to the destination point.
+
+        * WebProcess/Plugins/PluginProxy.cpp:
+        (WebKit::PluginProxy::paint):
+        (WebKit::PluginProxy::update):
+
 2010-12-02  Sam Weinig  <sam at webkit.org>
 
         Reviewed by Anders Carlsson.
diff --git a/WebKit2/WebProcess/Plugins/PluginProxy.cpp b/WebKit2/WebProcess/Plugins/PluginProxy.cpp
index b1da783..d4cebd5 100644
--- a/WebKit2/WebProcess/Plugins/PluginProxy.cpp
+++ b/WebKit2/WebProcess/Plugins/PluginProxy.cpp
@@ -131,7 +131,7 @@ void PluginProxy::paint(GraphicsContext* graphicsContext, const IntRect& dirtyRe
     IntRect dirtyRectInPluginCoordinates = dirtyRect;
     dirtyRectInPluginCoordinates.move(-m_frameRect.x(), -m_frameRect.y());
 
-    m_backingStore->paint(*graphicsContext, m_frameRect.location(), dirtyRectInPluginCoordinates);
+    m_backingStore->paint(*graphicsContext, dirtyRect.location(), dirtyRectInPluginCoordinates);
 
     if (m_waitingForPaintInResponseToUpdate) {
         m_waitingForPaintInResponseToUpdate = false;
@@ -419,7 +419,8 @@ void PluginProxy::update(const IntRect& paintedRect)
         // Blit the plug-in backing store into our own backing store.
         OwnPtr<GraphicsContext> graphicsContext = m_backingStore->createGraphicsContext();
 
-        m_pluginBackingStore->paint(*graphicsContext, IntPoint(), paintedRectPluginCoordinates);
+        m_pluginBackingStore->paint(*graphicsContext, paintedRectPluginCoordinates.location(), 
+                                    paintedRectPluginCoordinates);
     }
 
     // Ask the controller to invalidate the rect for us.

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list