Index: Source/core/paint/FilterPainter.cpp |
diff --git a/Source/core/paint/FilterPainter.cpp b/Source/core/paint/FilterPainter.cpp |
index 0fb2da6d31225f68c6f94a671c89401db391b023..680152d298f3b699ca545ea7c1d929b567262722 100644 |
--- a/Source/core/paint/FilterPainter.cpp |
+++ b/Source/core/paint/FilterPainter.cpp |
@@ -27,7 +27,7 @@ FilterPainter::FilterPainter(Layer& renderLayer, GraphicsContext* context, const |
LayoutRect& rootRelativeBounds, bool& rootRelativeBoundsComputed) |
: m_filterInProgress(false) |
, m_context(context) |
- , m_renderer(renderLayer.renderer()) |
+ , m_renderer(renderLayer.layoutObject()) |
{ |
if (!renderLayer.filterRenderer() || !renderLayer.paintsWithFilters()) |
return; |
@@ -55,7 +55,7 @@ FilterPainter::FilterPainter(Layer& renderLayer, GraphicsContext* context, const |
paintingInfo.clipToDirtyRect = false; |
if (clipRect.rect() != paintingInfo.paintDirtyRect || clipRect.hasRadius()) { |
- m_clipRecorder = adoptPtr(new LayerClipRecorder(renderLayer.renderer(), context, DisplayItem::ClipLayerFilter, clipRect, &paintingInfo, LayoutPoint(), paintFlags)); |
+ m_clipRecorder = adoptPtr(new LayerClipRecorder(renderLayer.layoutObject(), context, DisplayItem::ClipLayerFilter, clipRect, &paintingInfo, LayoutPoint(), paintFlags)); |
} |
ASSERT(m_renderer); |