Index: Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
diff --git a/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp b/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
index 2fd85e157e7d9f60f8d18bb46056d108fde37498..8082744d21d47bc43592c06e27e6e74ce95bd462 100644 |
--- a/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
+++ b/Source/core/rendering/svg/SVGTextRunRenderingContext.cpp |
@@ -26,6 +26,7 @@ |
#include "core/rendering/RenderObject.h" |
#include "core/rendering/svg/RenderSVGInlineText.h" |
#include "core/rendering/svg/RenderSVGResourceSolidColor.h" |
+#include "core/rendering/svg/SVGRenderSupport.h" |
#include "core/svg/SVGFontData.h" |
#include "core/svg/SVGFontElement.h" |
#include "core/svg/SVGFontFaceElement.h" |
@@ -164,7 +165,8 @@ void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const T |
float strokeThickness = context->strokeThickness(); |
if (renderObject && renderObject->isSVGInlineText()) |
context->setStrokeThickness(strokeThickness * toRenderSVGInlineText(renderObject)->scalingFactor()); |
- activePaintingResource->postApplyResource(parentRenderObject, context, resourceMode, &glyphPath, 0); |
+ SVGRenderSupport::fillOrStrokePath(context, resourceMode, glyphPath); |
+ activePaintingResource->postApplyResource(parentRenderObject, context); |
context->setStrokeThickness(strokeThickness); |
} |