| Index: Source/core/editing/GranularityStrategyTest.cpp
|
| diff --git a/Source/core/editing/GranularityStrategyTest.cpp b/Source/core/editing/GranularityStrategyTest.cpp
|
| index 9a1aee6e4c37832eb80155a234bd4f22c48ea71b..e988f7e8602ac77fb8b67149ddac83ec46a8e2d9 100644
|
| --- a/Source/core/editing/GranularityStrategyTest.cpp
|
| +++ b/Source/core/editing/GranularityStrategyTest.cpp
|
| @@ -28,7 +28,7 @@ namespace blink {
|
|
|
| IntPoint visiblePositionToContentsPoint(const VisiblePosition& pos)
|
| {
|
| - IntPoint result = pos.absoluteCaretBounds().minXMaxYCorner();
|
| + IntPoint result = absoluteCaretBoundsOf(pos).minXMaxYCorner();
|
| // Need to move the point at least by 1 - caret's minXMaxYCorner is not
|
| // evaluated to the same line as the text by hit testing.
|
| result.move(0, -1);
|
|
|