| 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 0f588d7151fa36e4b4dbf9ae893fa8142aa0eb11..71497f19b4e7d726b137fc59243de4674977f0d5 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
| @@ -45,12 +45,13 @@
|
| // computation in SVGInlineTextBox::calculateBoundaries, and the fact that vertical (etc)
|
| // layouts are handled by SVGTextLayoutEngine.
|
| LayoutRect bounds(
|
| - LayoutPoint(m_svgInlineTextBox.topLeft() + paintOffset),
|
| + m_svgInlineTextBox.topLeft(),
|
| 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);
|
| }
|
|
|
|
|