| Index: third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp
|
| index eb70b3574f76684adf611519373a42baf4f528fc..ef83fc4a3824162ea13878221e22e4ece05ed7ee 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp
|
| @@ -33,7 +33,7 @@ TEST_F(InsertListCommandTest, ShouldCleanlyRemoveSpuriousTextNode)
|
| setBodyContent("\nd\n<ol>");
|
| Text* emptyText = document().createTextNode("");
|
| document().body()->insertBefore(emptyText, document().body()->firstChild());
|
| - document().frame()->selection().setSelection(VisibleSelection(Position(document().body(), 0), Position(document().body(), 2)));
|
| + document().frame()->selection().setSelection(createVisibleSelectionDeprecated(Position(document().body(), 0), Position(document().body(), 2)));
|
|
|
| InsertListCommand* command = InsertListCommand::create(document(), InsertListCommand::OrderedList);
|
| // This should not DCHECK.
|
|
|