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