| Index: third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
|
| index ad2059b0d5a639707a2aad2476c73ee5409720a1..d44d8f54a1520cf0f2f3381dca48ffc0270fc1df 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
|
| @@ -206,7 +206,7 @@ TEST_F(HTMLTextFormControlElementTest, SpellCheckDoesNotCauseUpdateLayout)
|
| VisibleSelection oldSelection = document().frame()->selection().selection();
|
|
|
| Position newPosition(input->innerEditorElement()->firstChild(), 3);
|
| - VisibleSelection newSelection(newPosition, TextAffinity::Downstream);
|
| + VisibleSelection newSelection = createVisibleSelectionDeprecated(newPosition, TextAffinity::Downstream);
|
| document().frame()->selection().setSelection(newSelection, FrameSelection::CloseTyping | FrameSelection::ClearTypingStyle | FrameSelection::DoNotUpdateAppearance);
|
| ASSERT_EQ(3, input->selectionStart());
|
|
|
|
|