| 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 daba680b7a4724ae155f8fbbbebd3beeb1c1ca97..cd3279bd2a3141ca30929fc0851c83254a272461 100644
|
| --- a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
|
| @@ -195,7 +195,7 @@ TEST_F(InputMethodControllerTest, ConfirmPasswordComposition)
|
| EXPECT_STREQ("foo", input->value().utf8().data());
|
| }
|
|
|
| -TEST_F(InputMethodControllerTest, SetCompositionForInputWithDifferentNewCursorPositions)
|
| +TEST_F(InputMethodControllerTest, SetCompositionForInputWithNewCursorPositions)
|
| {
|
| HTMLInputElement* input = toHTMLInputElement(
|
| insertHTMLElement("<input id='sample'>", "sample"));
|
| @@ -252,7 +252,7 @@ TEST_F(InputMethodControllerTest, SetCompositionForInputWithDifferentNewCursorPo
|
| EXPECT_EQ(7u, controller().getSelectionOffsets().end());
|
| }
|
|
|
| -TEST_F(InputMethodControllerTest, SetCompositionForContentEditableWithDifferentNewCursorPositions)
|
| +TEST_F(InputMethodControllerTest, SetCompositionForContentEditableWithNewCursorPositions)
|
| {
|
| // There are 7 nodes and 5+1+5+1+3+4+3 characters: "hello", '\n', "world", "\n", "012", "3456", "789".
|
| Element* div = insertHTMLElement(
|
| @@ -405,7 +405,7 @@ TEST_F(InputMethodControllerTest, InsertLineBreakAfterConfirmingText)
|
| "<div id='sample' contenteditable='true'></div>",
|
| "sample");
|
|
|
| - controller().confirmCompositionOrInsertText("hello", InputMethodController::ConfirmCompositionBehavior::KeepSelection);
|
| + controller().confirmComposition("hello");
|
| EXPECT_STREQ("hello", div->innerText().utf8().data());
|
|
|
| controller().setEditableSelectionOffsets(PlainTextRange(2, 2));
|
|
|