| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index a2261fc7dd95e4811121d378c6d09d5f940b2aeb..b067cb7814e649cfa1e75318c082cdb8574a1d80 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 VisiblePosition(layoutObject->positionForPoint(LayoutPoint(x, y))).deepEquivalent().computeOffsetInContainerNode();
|
| + return visiblePositionOf(layoutObject->positionForPoint(LayoutPoint(x, y))).deepEquivalent().computeOffsetInContainerNode();
|
| }
|
|
|
| // positionForPoint returns the wrong values for contenteditable spans. See
|
|
|