| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index da42179ad61ee993fdae331ca42010f65290dfba..7a8034acb16c6320c5d081ccebac76a07be9d099 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -2318,7 +2318,7 @@ String Internals::textSurroundingNode(Node* node, int x, int y, unsigned long ma
|
| if (!node || !node->layoutObject())
|
| return String();
|
| blink::WebPoint point(x, y);
|
| - SurroundingText surroundingText(visiblePositionOf(node->layoutObject()->positionForPoint(static_cast<IntPoint>(point))).deepEquivalent().parentAnchoredEquivalent(), maxLength);
|
| + SurroundingText surroundingText(createVisiblePosition(node->layoutObject()->positionForPoint(static_cast<IntPoint>(point))).deepEquivalent().parentAnchoredEquivalent(), maxLength);
|
| return surroundingText.content();
|
| }
|
|
|
|
|