| Index: Source/core/html/HTMLTextFormControlElementTest.cpp
|
| diff --git a/Source/core/html/HTMLTextFormControlElementTest.cpp b/Source/core/html/HTMLTextFormControlElementTest.cpp
|
| index 43f1117d600c0b2586e7cd5e56b464920ae58007..c77d0a3b9c685b776e9407559ad28ae45d2ce897 100644
|
| --- a/Source/core/html/HTMLTextFormControlElementTest.cpp
|
| +++ b/Source/core/html/HTMLTextFormControlElementTest.cpp
|
| @@ -211,7 +211,7 @@ TEST_F(HTMLTextFormControlElementTest, SpellCheckDoesNotCauseUpdateLayout)
|
| input->setValue("Hello, input field");
|
| VisibleSelection oldSelection = document().frame()->selection().selection();
|
|
|
| - Position newPosition(input->innerEditorElement()->firstChild(), 3, Position::PositionIsOffsetInAnchor);
|
| + Position newPosition(input->innerEditorElement()->firstChild(), 3);
|
| VisibleSelection newSelection(newPosition, DOWNSTREAM);
|
| document().frame()->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | FrameSelection::DoNotUpdateAppearance);
|
| ASSERT_EQ(3, input->selectionStart());
|
|
|