Index: Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp |
diff --git a/Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp b/Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp |
index 4df4c22a900087f8030afb56e0129f5a807de7fa..c75f25ded1d920cea4812a4f19250f17e6c3de98 100644 |
--- a/Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp |
+++ b/Source/WebCore/rendering/svg/RenderSVGResourcePattern.cpp |
@@ -171,19 +171,10 @@ bool RenderSVGResourcePattern::applyResource(RenderObject* object, RenderStyle* |
} |
if (resourceMode & ApplyToTextMode) { |
- if (resourceMode & ApplyToFillMode) { |
+ if (resourceMode & ApplyToFillMode) |
context->setTextDrawingMode(TextModeFill); |
- |
-#if USE(CG) |
- context->applyFillPattern(); |
-#endif |
- } else if (resourceMode & ApplyToStrokeMode) { |
+ else if (resourceMode & ApplyToStrokeMode) |
context->setTextDrawingMode(TextModeStroke); |
- |
-#if USE(CG) |
- context->applyStrokePattern(); |
-#endif |
- } |
} |
return true; |