https://bugs.webkit.org/show_bug.cgi?id=72497
Patch by Philip Rogers <pdr@google.com> on 2011-11-16
Reviewed by Andreas Kling.
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawTextInternal):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100475
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2011-11-16 Philip Rogers <pdr@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 <robert@webkit.org>
CSS 2.1 failure: border-collapse-offset-002.htm fails
// 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);