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

kbr at google.com kbr at google.com
Wed Dec 22 15:52:16 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 63606f8a6dff8baa473c80e29c320a4f00f04eed
Author: kbr at google.com <kbr at google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Nov 15 21:17:03 2010 +0000

    2010-11-15  Kenneth Russell  <kbr at google.com>
    
            Reviewed by James Robinson.
    
            [chromium] Avoid copying of SkBitmap in LayerRendererChromium
            https://bugs.webkit.org/show_bug.cgi?id=49560
    
            Ran CSS 3D content to test. No other new tests.
    
            * platform/graphics/chromium/LayerRendererChromium.cpp:
            (WebCore::LayerRendererChromium::updateRootLayerTextureRect):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72026 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 510c085..2d25d47 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,15 @@
+2010-11-15  Kenneth Russell  <kbr at google.com>
+
+        Reviewed by James Robinson.
+
+        [chromium] Avoid copying of SkBitmap in LayerRendererChromium
+        https://bugs.webkit.org/show_bug.cgi?id=49560
+
+        Ran CSS 3D content to test. No other new tests.
+
+        * platform/graphics/chromium/LayerRendererChromium.cpp:
+        (WebCore::LayerRendererChromium::updateRootLayerTextureRect):
+
 2010-11-15  Vangelis Kokkevis  <vangelis at chromium.org>
 
         Reviewed by Kenneth Russell.
diff --git a/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp b/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
index 6ba3b54..91580cc 100644
--- a/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
+++ b/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp
@@ -271,7 +271,7 @@ void LayerRendererChromium::updateRootLayerTextureRect(const IntRect& updateRect
 
 #if PLATFORM(SKIA)
     // Get the contents of the updated rect.
-    const SkBitmap bitmap = m_rootLayerCanvas->getDevice()->accessBitmap(false);
+    const SkBitmap& bitmap = m_rootLayerCanvas->getDevice()->accessBitmap(false);
     ASSERT(bitmap.width() == updateRect.width() && bitmap.height() == updateRect.height());
     void* pixels = bitmap.getPixels();
 #elif PLATFORM(CG)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list