| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index b067cb7814e649cfa1e75318c082cdb8574a1d80..c757814056d8442ec3517b1238b8c887e7412402 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -4423,7 +4423,7 @@ TEST_P(ParameterizedWebFrameTest, MoveRangeSelectionExtentScollsInputField)
|
|
|
| static int computeOffset(LayoutObject* layoutObject, int x, int y)
|
| {
|
| - return visiblePositionOf(layoutObject->positionForPoint(LayoutPoint(x, y))).deepEquivalent().computeOffsetInContainerNode();
|
| + return createVisiblePosition(layoutObject->positionForPoint(LayoutPoint(x, y))).deepEquivalent().computeOffsetInContainerNode();
|
| }
|
|
|
| // positionForPoint returns the wrong values for contenteditable spans. See
|
|
|