| 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 e628ecb38ac8f3cf3c2b4f6c1e75f61e8cc444cd..a8cca1a59d41dc003d1f0419443039c0188cd51c 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp
|
| @@ -24,7 +24,7 @@ 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, *LineLayoutAPIShim::constLayoutObjectFrom(m_svgRootInlineBox.lineLayoutItem()),
|
| paintInfoBeforeFiltering.phase, paintOffset)) {
|
| LayoutObjectDrawingRecorder recorder(paintInfoBeforeFiltering.context, *LineLayoutAPIShim::constLayoutObjectFrom(m_svgRootInlineBox.lineLayoutItem()), paintInfoBeforeFiltering.phase,
|
| paintInfoBeforeFiltering.cullRect().m_rect, paintOffset);
|
| @@ -36,7 +36,7 @@ void SVGRootInlineBoxPainter::paint(const PaintInfo& paintInfo, const LayoutPoin
|
| }
|
| }
|
|
|
| - SVGPaintContext paintContext(m_svgRootInlineBox.layoutObject(), paintInfoBeforeFiltering);
|
| + SVGPaintContext paintContext(*LineLayoutAPIShim::constLayoutObjectFrom(m_svgRootInlineBox.lineLayoutItem()), paintInfoBeforeFiltering);
|
| if (paintContext.applyClipMaskAndFilterIfNecessary()) {
|
| for (InlineBox* child = m_svgRootInlineBox.firstChild(); child; child = child->nextOnLine())
|
| child->paint(paintContext.paintInfo(), paintOffset, 0, 0);
|
|
|