Index: third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp b/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp |
index 2b8bdd63b6e6869b93d046cf211e6d520b45bb8b..b357dbca1d51cd3dc17b8a9d640550d707023d2c 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp |
@@ -24,9 +24,9 @@ void SVGRootInlineBoxPainter::paint(const PaintInfo& paintInfo, const LayoutPoin |
bool hasSelection = !paintInfo.isPrinting() && m_svgRootInlineBox.selectionState() != SelectionNone; |
PaintInfo paintInfoBeforeFiltering(paintInfo); |
- if (hasSelection && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfoBeforeFiltering.context, m_svgRootInlineBox.layoutObject(), |
+ if (hasSelection && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfoBeforeFiltering.context, m_svgRootInlineBox.layoutObject(), |
paintInfoBeforeFiltering.phase, paintOffset)) { |
- LayoutObjectDrawingRecorder recorder(*paintInfoBeforeFiltering.context, m_svgRootInlineBox.layoutObject(), paintInfoBeforeFiltering.phase, |
+ LayoutObjectDrawingRecorder recorder(paintInfoBeforeFiltering.context, m_svgRootInlineBox.layoutObject(), paintInfoBeforeFiltering.phase, |
paintInfoBeforeFiltering.cullRect().m_rect, paintOffset); |
for (InlineBox* child = m_svgRootInlineBox.firstChild(); child; child = child->nextOnLine()) { |
if (child->isSVGInlineTextBox()) |