diff options
Diffstat (limited to 'WebCore/svg/SVGFont.cpp')
-rw-r--r-- | WebCore/svg/SVGFont.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/WebCore/svg/SVGFont.cpp b/WebCore/svg/SVGFont.cpp index 898c259..ffa01f2 100644 --- a/WebCore/svg/SVGFont.cpp +++ b/WebCore/svg/SVGFont.cpp @@ -534,12 +534,9 @@ void Font::drawTextUsingSVGFont(GraphicsContext* context, const TextRun& run, Path glyphPath = identifier.pathData; glyphPath.transform(glyphPathTransform); - context->beginPath(); - context->addPath(glyphPath); - RenderStyle* style = run.referencingRenderObject() ? run.referencingRenderObject()->style() : 0; if (activePaintingResource->applyResource(run.referencingRenderObject(), style, context, resourceMode)) - activePaintingResource->postApplyResource(run.referencingRenderObject(), context, resourceMode); + activePaintingResource->postApplyResource(run.referencingRenderObject(), context, resourceMode, &glyphPath); context->restore(); } |