| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| index a64f5e1ab3c5e88a067713275914f04df7ee939a..44bb14cfbc5f3f1e8c8995a5ed6e9eef54762de8 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| @@ -327,9 +327,9 @@ PositionWithAffinity LayoutSVGText::positionForPoint(
|
| return createPositionWithAffinity(0);
|
|
|
| LayoutPoint clippedPointInContents(pointInContents);
|
| - clippedPointInContents.moveBy(-rootBox->topLeft());
|
| + clippedPointInContents.moveBy(-rootBox->location());
|
| clippedPointInContents.clampNegativeToZero();
|
| - clippedPointInContents.moveBy(rootBox->topLeft());
|
| + clippedPointInContents.moveBy(rootBox->location());
|
|
|
| ASSERT(!rootBox->nextRootBox());
|
| ASSERT(childrenInline());
|
|
|