Index: Source/core/rendering/svg/SVGRenderingContext.cpp |
diff --git a/Source/core/rendering/svg/SVGRenderingContext.cpp b/Source/core/rendering/svg/SVGRenderingContext.cpp |
index b9a769120f8cdef65a4f7a0360bc44bb6b4c7477..5b065cc2bee15f68267d43162410366d56d79e2d 100644 |
--- a/Source/core/rendering/svg/SVGRenderingContext.cpp |
+++ b/Source/core/rendering/svg/SVGRenderingContext.cpp |
@@ -30,7 +30,6 @@ |
#include "core/rendering/RenderLayer.h" |
#include "core/rendering/svg/RenderSVGResourceFilter.h" |
#include "core/rendering/svg/RenderSVGResourceMasker.h" |
-#include "core/rendering/svg/SVGRenderSupport.h" |
#include "core/rendering/svg/SVGResources.h" |
#include "core/rendering/svg/SVGResourcesCache.h" |
#include "platform/FloatConversion.h" |
@@ -93,7 +92,7 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI |
const SVGRenderStyle& svgStyle = style->svgStyle(); |
// Setup transparency layers before setting up SVG resources! |
- bool isRenderingMask = SVGRenderSupport::isRenderingClipPathAsMaskImage(*m_object); |
+ bool isRenderingMask = paintInfo.isRenderingClipPathAsMaskImage(); |
// RenderLayer takes care of root opacity. |
float opacity = object->isSVGRoot() ? 1 : style->opacity(); |
bool hasBlendMode = style->hasBlendMode(); |