Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
index 07c1c3191a7b7042e57585162d5f6a9a9273129d..966870440baf245abb69621732b07888fce7a748 100644 |
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
@@ -550,6 +550,7 @@ void SVGInlineTextBox::paintDecorationWithStyle(GraphicsContext* context, TextDe |
PaintingResourceScope resourceScope(*decorationRenderer); |
if (resourceScope.acquirePaintingResource(context, decorationStyle, resourceMode)) { |
+ SVGRenderSupport::updateGraphicsContext(context, decorationStyle, *decorationRenderer, resourceMode); |
SVGRenderSupport::fillOrStrokePath(context, resourceMode, path); |
resourceScope.releasePaintingResource(context); |
} |
@@ -585,6 +586,8 @@ void SVGInlineTextBox::paintTextWithShadows(GraphicsContext* context, RenderStyl |
PaintingResourceScope resourceScope(parent()->renderer()); |
if (resourceScope.acquirePaintingResource(context, style, resourceMode)) { |
+ SVGRenderSupport::updateGraphicsContext(context, style, parent()->renderer(), resourceMode); |
+ |
if (scalingFactor != 1 && resourceMode & ApplyToStrokeMode) |
context->setStrokeThickness(context->strokeThickness() * scalingFactor); |