| Index: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp
|
| index 8c9d77d5662425ce282aecdb374d835077039095..a299743b9955188610e2f568aeb6dd63292a24c1 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp
|
| @@ -33,7 +33,7 @@ TEST_F(ReplaceSelectionCommandTest, pastingEmptySpan)
|
|
|
| LocalFrame* frame = document().frame();
|
| frame->selection().setSelection(
|
| - VisibleSelection(Position(document().body(), 0)));
|
| + createVisibleSelectionDeprecated(Position(document().body(), 0)));
|
|
|
| DocumentFragment* fragment = document().createDocumentFragment();
|
| fragment->appendChild(document().createElement("span", ASSERT_NO_EXCEPTION));
|
| @@ -58,7 +58,7 @@ TEST_F(ReplaceSelectionCommandTest, styleTagsInPastedHeadIncludedInContent)
|
| {
|
| document().setDesignMode("on");
|
| dummyPageHolder().frame().selection().setSelection(
|
| - VisibleSelection(Position(document().body(), 0)));
|
| + createVisibleSelectionDeprecated(Position(document().body(), 0)));
|
|
|
| DocumentFragment* fragment = document().createDocumentFragment();
|
| fragment->parseHTML(
|
|
|