Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
index d94e0afb2c83052f34794334f31113ea81f6ce84..2b23d4fbce434b0c7b1fd41f9ed5f5a523cccb26 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp |
@@ -161,7 +161,7 @@ bool LayoutSVGInlineText::characterStartsNewTextChunk(int position) const |
PositionWithAffinity LayoutSVGInlineText::positionForPoint(const LayoutPoint& point) |
{ |
- if (!firstTextBox() || !textLength()) |
+ if (!hasTextBoxes() || !textLength()) |
return createPositionWithAffinity(0); |
ASSERT(m_scalingFactor); |