| Index: third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
|
| index eb342fb71ba02c2ded8f4f3f5f734ed710489f48..b4bbb9cf44b36a31fa9af27653b4940bc767c086 100644
|
| --- a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
|
| @@ -193,7 +193,11 @@ TEST_F(InputMethodControllerTest, SetCompositionAfterEmoji) {
|
|
|
| document().updateStyleAndLayout();
|
| controller().setEditableSelectionOffsets(PlainTextRange(2, 2));
|
| - EXPECT_EQ(2, frame().selection().start().computeOffsetInContainerNode());
|
| + EXPECT_EQ(2, frame()
|
| + .selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .start()
|
| + .computeOffsetInContainerNode());
|
| EXPECT_EQ(2, frame()
|
| .selection()
|
| .computeVisibleSelectionInDOMTreeDeprecated()
|
| @@ -345,7 +349,11 @@ TEST_F(InputMethodControllerTest, SelectionOnConfirmExistingText) {
|
| controller().setCompositionFromExistingText(underlines, 0, 5);
|
|
|
| controller().finishComposingText(InputMethodController::KeepSelection);
|
| - EXPECT_EQ(0, frame().selection().start().computeOffsetInContainerNode());
|
| + EXPECT_EQ(0, frame()
|
| + .selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .start()
|
| + .computeOffsetInContainerNode());
|
| EXPECT_EQ(0, frame()
|
| .selection()
|
| .computeVisibleSelectionInDOMTreeDeprecated()
|
|
|