[chromium] Plumb damage from accelerated canvas 2D.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2012 22:49:51 +0000 (22:49 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2012 22:49:51 +0000 (22:49 +0000)
https://bugs.webkit.org/show_bug.cgi?id=76728

Patch by Jonathan Backer <backer@chromium.org> on 2012-01-20
Reviewed by Kenneth Russell.

* platform/graphics/chromium/Canvas2DLayerChromium.cpp:
(WebCore::Canvas2DLayerChromium::contentChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105544 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.cpp

index 61bf696..0207b64 100755 (executable)
@@ -1,3 +1,13 @@
+2012-01-20  Jonathan Backer  <backer@chromium.org>
+
+        [chromium] Plumb damage from accelerated canvas 2D.
+        https://bugs.webkit.org/show_bug.cgi?id=76728
+
+        Reviewed by Kenneth Russell.
+
+        * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
+        (WebCore::Canvas2DLayerChromium::contentChanged):
+
 2012-01-20  Julien Chaffraix  <jchaffraix@webkit.org>
 
         Crash in RenderTable::borderBefore
index b270f5f..1505ada 100644 (file)
@@ -81,6 +81,7 @@ void Canvas2DLayerChromium::contentChanged()
     if (layerTreeHost())
         layerTreeHost()->startRateLimiter(m_context);
 
+    m_updateRect = FloatRect(FloatPoint(), contentBounds());
     setNeedsDisplay();
 }