| 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 208cb1f895118a0fbdb85f1be44fb4eb66316234..076a384d63ec7943c47e64756c4d5aeaaceae408 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGRootInlineBoxPainter.cpp
|
| @@ -24,10 +24,8 @@ 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, *LineLayoutAPIShim::constLayoutObjectFrom(m_svgRootInlineBox.lineLayoutItem()),
|
| - paintInfoBeforeFiltering.phase, paintOffset)) {
|
| - LayoutObjectDrawingRecorder recorder(paintInfoBeforeFiltering.context, *LineLayoutAPIShim::constLayoutObjectFrom(m_svgRootInlineBox.lineLayoutItem()), paintInfoBeforeFiltering.phase,
|
| - paintInfoBeforeFiltering.cullRect().m_rect, paintOffset);
|
| + if (hasSelection && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfoBeforeFiltering.context, *LineLayoutAPIShim::constLayoutObjectFrom(m_svgRootInlineBox.lineLayoutItem()), paintInfoBeforeFiltering.phase)) {
|
| + LayoutObjectDrawingRecorder recorder(paintInfoBeforeFiltering.context, *LineLayoutAPIShim::constLayoutObjectFrom(m_svgRootInlineBox.lineLayoutItem()), paintInfoBeforeFiltering.phase, paintInfoBeforeFiltering.cullRect().m_rect);
|
| for (InlineBox* child = m_svgRootInlineBox.firstChild(); child; child = child->nextOnLine()) {
|
| if (child->isSVGInlineTextBox())
|
| SVGInlineTextBoxPainter(*toSVGInlineTextBox(child)).paintSelectionBackground(paintInfoBeforeFiltering);
|
|
|