Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
index bcc3e8cc47ee04b50e2a65aad5d921ae7e1df072..940cfe859631f212c59426a59146c39958e90086 100644 |
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
@@ -287,7 +287,7 @@ static void writeStyle(TextStream& ts, const RenderObject& object) |
ASSERT(shape.element()); |
bool hasFallback; |
- if (RenderSVGResource* strokePaintingResource = RenderSVGResource::strokePaintingResource(const_cast<RenderSVGShape*>(&shape), shape.style(), hasFallback)) { |
+ if (RenderSVGResource* strokePaintingResource = RenderSVGResource::requestPaintingResource(ApplyToStrokeMode, const_cast<RenderSVGShape*>(&shape), shape.style(), hasFallback)) { |
TextStreamSeparator s(" "); |
ts << " [stroke={" << s; |
writeSVGPaintingResource(ts, strokePaintingResource); |
@@ -315,7 +315,7 @@ static void writeStyle(TextStream& ts, const RenderObject& object) |
ts << "}]"; |
} |
- if (RenderSVGResource* fillPaintingResource = RenderSVGResource::fillPaintingResource(const_cast<RenderSVGShape*>(&shape), shape.style(), hasFallback)) { |
+ if (RenderSVGResource* fillPaintingResource = RenderSVGResource::requestPaintingResource(ApplyToFillMode, const_cast<RenderSVGShape*>(&shape), shape.style(), hasFallback)) { |
TextStreamSeparator s(" "); |
ts << " [fill={" << s; |
writeSVGPaintingResource(ts, fillPaintingResource); |