Index: Source/core/paint/DeprecatedPaintLayerPainter.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayerPainter.cpp b/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
index fa141d8c62c7b95f59eaf7a9c891a4e55b629d4e..08e2cc93de5cfae9907f54ff678b3be2a2a3bf0a 100644 |
--- a/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayerPainter.cpp |
@@ -142,7 +142,7 @@ public: |
} |
m_resourceClipper = toLayoutSVGResourceClipper(toLayoutSVGResourceContainer(element->layoutObject())); |
- if (!SVGClipPainter(*m_resourceClipper).applyClippingToContext(renderLayer.layoutObject(), rootRelativeBounds, |
+ if (!SVGClipPainter(*m_resourceClipper).applyClippingToContext(*renderLayer.layoutObject(), rootRelativeBounds, |
paintingInfo.paintDirtyRect, context, m_clipperState)) { |
// No need to post-apply the clipper if this failed. |
m_resourceClipper = 0; |
@@ -154,7 +154,7 @@ public: |
~ClipPathHelper() |
{ |
if (m_resourceClipper) |
- SVGClipPainter(*m_resourceClipper).postApplyStatefulResource(m_renderLayer.layoutObject(), m_context, m_clipperState); |
+ SVGClipPainter(*m_resourceClipper).postApplyStatefulResource(*m_renderLayer.layoutObject(), m_context, m_clipperState); |
} |
private: |
LayoutSVGResourceClipper* m_resourceClipper; |