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 1cd243bbd4e8e603a2451833e310d2c956f99fd3..1ff27ae98c88b84fc59118729416e027ae5e4006 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp |
@@ -51,9 +51,8 @@ FloatRect SVGInlineTextBoxPainter::boundsForDrawingRecorder( |
const ComputedStyle& style, |
const LayoutPoint& paintOffset, |
bool includeSelectionRect) const { |
- LayoutRect bounds( |
- m_svgInlineTextBox.locationIncludingFlipping() + paintOffset, |
- m_svgInlineTextBox.size()); |
+ LayoutRect bounds(m_svgInlineTextBox.topLeft() + paintOffset, |
+ m_svgInlineTextBox.size()); |
if (hasShadow(paintInfo, style)) |
bounds.expand(style.textShadow()->rectOutsetsIncludingOriginal()); |
if (includeSelectionRect) { |