| Index: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| index 71497f19b4e7d726b137fc59243de4674977f0d5..0f588d7151fa36e4b4dbf9ae893fa8142aa0eb11 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| @@ -45,13 +45,12 @@ FloatRect SVGInlineTextBoxPainter::boundsForDrawingRecorder(
|
| // computation in SVGInlineTextBox::calculateBoundaries, and the fact that vertical (etc)
|
| // layouts are handled by SVGTextLayoutEngine.
|
| LayoutRect bounds(
|
| - m_svgInlineTextBox.topLeft(),
|
| + LayoutPoint(m_svgInlineTextBox.topLeft() + paintOffset),
|
| LayoutSize(m_svgInlineTextBox.logicalWidth(), m_svgInlineTextBox.logicalHeight()));
|
| if (includeSelectionRect) {
|
| bounds.unite(m_svgInlineTextBox.localSelectionRect(
|
| m_svgInlineTextBox.start(), m_svgInlineTextBox.start() + m_svgInlineTextBox.len()));
|
| }
|
| - bounds.moveBy(paintOffset);
|
| return FloatRect(bounds);
|
| }
|
|
|
|
|