Title: [100475] trunk/Source/WebCore
Revision
100475
Author
commit-qu...@webkit.org
Date
2011-11-16 11:16:45 -0800 (Wed, 16 Nov 2011)

Log Message

Remove extra GraphicsContextStateSaver restore() call.
https://bugs.webkit.org/show_bug.cgi?id=72497

Patch by Philip Rogers <p...@google.com> on 2011-11-16
Reviewed by Andreas Kling.

* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawTextInternal):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (100474 => 100475)


--- trunk/Source/WebCore/ChangeLog	2011-11-16 19:13:25 UTC (rev 100474)
+++ trunk/Source/WebCore/ChangeLog	2011-11-16 19:16:45 UTC (rev 100475)
@@ -1,3 +1,13 @@
+2011-11-16  Philip Rogers  <p...@google.com>
+
+        Remove extra GraphicsContextStateSaver restore() call.
+        https://bugs.webkit.org/show_bug.cgi?id=72497
+
+        Reviewed by Andreas Kling.
+
+        * html/canvas/CanvasRenderingContext2D.cpp:
+        (WebCore::CanvasRenderingContext2D::drawTextInternal):
+
 2011-11-08  Robert Hogan  <rob...@webkit.org>
 
         CSS 2.1 failure: border-collapse-offset-002.htm fails

Modified: trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp (100474 => 100475)


--- trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp	2011-11-16 19:13:25 UTC (rev 100474)
+++ trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp	2011-11-16 19:16:45 UTC (rev 100475)
@@ -2205,7 +2205,6 @@
         // We draw when fontWidth is 0 so compositing operations (eg, a "copy" op) still work.
         c->scale(FloatSize((fontWidth > 0 ? (width / fontWidth) : 0), 1));
         c->drawBidiText(font, textRun, FloatPoint(0, 0));
-        stateSaver.restore();
     } else
         c->drawBidiText(font, textRun, location);
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to