Index: Source/core/rendering/svg/RenderSVGResource.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGResource.cpp b/Source/core/rendering/svg/RenderSVGResource.cpp |
index e8f99f76cec0ef303158711be9958f36bbf51d7d..517a57c17dbb15e772d34337c8cef38987c73c77 100644 |
--- a/Source/core/rendering/svg/RenderSVGResource.cpp |
+++ b/Source/core/rendering/svg/RenderSVGResource.cpp |
@@ -142,8 +142,6 @@ void RenderSVGResource::updateGraphicsContext(GraphicsContext* context, const Re |
// When rendering the mask for a RenderSVGResourceClipper, the stroke code path is never hit. |
ASSERT(resourceMode == ApplyToFillMode); |
context->setAlphaAsFloat(1); |
- if (resourceModeFlags & ApplyToTextMode) |
- context->setTextDrawingMode(TextModeFill); |
return; |
} |
@@ -156,9 +154,6 @@ void RenderSVGResource::updateGraphicsContext(GraphicsContext* context, const Re |
context->setAlphaAsFloat(svgStyle.strokeOpacity()); |
SVGRenderSupport::applyStrokeStyleToContext(context, style, &renderer); |
} |
- |
- if (resourceModeFlags & ApplyToTextMode) |
- context->setTextDrawingMode(resourceMode == ApplyToFillMode ? TextModeFill : TextModeStroke); |
} |
RenderSVGResourceSolidColor* RenderSVGResource::sharedSolidPaintingResource() |