Index: Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
index ab4c747f11ccfdd431c25bc08025659a06bc7e08..b4ebbd0f73b52e47fb6b6870d30fadc11fe8afe7 100644 |
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp |
@@ -638,7 +638,7 @@ void writeResources(TextStream& ts, const RenderObject& object, int indent) |
// For now leave the DRT output as is, but later on we should change this so cycles are properly ignored in the DRT output. |
RenderObject& renderer = const_cast<RenderObject&>(object); |
if (!svgStyle->maskerResource().isEmpty()) { |
- if (RenderSVGResourceMasker* masker = getRenderSVGResourceById<RenderSVGResourceMasker>(&object.document(), svgStyle->maskerResource())) { |
+ if (RenderSVGResourceMasker* masker = getRenderSVGResourceById<RenderSVGResourceMasker>(object.document(), svgStyle->maskerResource())) { |
writeIndent(ts, indent); |
ts << " "; |
writeNameAndQuotedValue(ts, "masker", svgStyle->maskerResource()); |
@@ -648,7 +648,7 @@ void writeResources(TextStream& ts, const RenderObject& object, int indent) |
} |
} |
if (!svgStyle->clipperResource().isEmpty()) { |
- if (RenderSVGResourceClipper* clipper = getRenderSVGResourceById<RenderSVGResourceClipper>(&object.document(), svgStyle->clipperResource())) { |
+ if (RenderSVGResourceClipper* clipper = getRenderSVGResourceById<RenderSVGResourceClipper>(object.document(), svgStyle->clipperResource())) { |
writeIndent(ts, indent); |
ts << " "; |
writeNameAndQuotedValue(ts, "clipPath", svgStyle->clipperResource()); |
@@ -658,7 +658,7 @@ void writeResources(TextStream& ts, const RenderObject& object, int indent) |
} |
} |
if (!svgStyle->filterResource().isEmpty()) { |
- if (RenderSVGResourceFilter* filter = getRenderSVGResourceById<RenderSVGResourceFilter>(&object.document(), svgStyle->filterResource())) { |
+ if (RenderSVGResourceFilter* filter = getRenderSVGResourceById<RenderSVGResourceFilter>(object.document(), svgStyle->filterResource())) { |
writeIndent(ts, indent); |
ts << " "; |
writeNameAndQuotedValue(ts, "filter", svgStyle->filterResource()); |