[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

aroben at apple.com aroben at apple.com
Sun Feb 20 23:27:36 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 862e38370dc4bb36ae29f4b57d25fe64a4519c23
Author: aroben at apple.com <aroben at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jan 20 17:12:24 2011 +0000

    Only flush our own context when we get resized
    
    Fixes <http://webkit.org/b/52751> All WKCACFContexts with uncommitted
    changes get flushed whenever any composited page is resized
    
    Reviewed by Simon Fraser.
    
    * platform/graphics/win/WKCACFLayerRenderer.cpp:
    (WebCore::WKCACFLayerRenderer::resize): Just flush our own context, not all contexts
    WKCACFContextFlusher knows about. After all, ours is the only one that just got resized!
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76257 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index e2d6826..927322d 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,5 +1,18 @@
 2011-01-19  Adam Roben  <aroben at apple.com>
 
+        Only flush our own context when we get resized
+
+        Fixes <http://webkit.org/b/52751> All WKCACFContexts with uncommitted
+        changes get flushed whenever any composited page is resized
+
+        Reviewed by Simon Fraser.
+
+        * platform/graphics/win/WKCACFLayerRenderer.cpp:
+        (WebCore::WKCACFLayerRenderer::resize): Just flush our own context, not all contexts
+        WKCACFContextFlusher knows about. After all, ours is the only one that just got resized!
+
+2011-01-19  Adam Roben  <aroben at apple.com>
+
         Make WKCACFLayerRenderer ref-counted
 
         This will be needed to handle cases where the client might release its reference to us while
diff --git a/Source/WebCore/platform/graphics/win/WKCACFLayerRenderer.cpp b/Source/WebCore/platform/graphics/win/WKCACFLayerRenderer.cpp
index b5ef6de..ba804b9 100644
--- a/Source/WebCore/platform/graphics/win/WKCACFLayerRenderer.cpp
+++ b/Source/WebCore/platform/graphics/win/WKCACFLayerRenderer.cpp
@@ -365,7 +365,7 @@ void WKCACFLayerRenderer::resize()
 
     if (m_rootLayer) {
         m_rootLayer->setBounds(bounds());
-        WKCACFContextFlusher::shared().flushAllContexts();
+        wkCACFContextFlush(m_context);
     }
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list