| 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 a299743b9955188610e2f568aeb6dd63292a24c1..e6bd197a6b9ec025108a1efff717a6b849487dff 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(
|
| - createVisibleSelectionDeprecated(Position(document().body(), 0)));
|
| + createVisibleSelection(Position(document().body(), 0)));
|
|
|
| DocumentFragment* fragment = document().createDocumentFragment();
|
| fragment->appendChild(document().createElement("span", ASSERT_NO_EXCEPTION));
|
| @@ -57,8 +57,9 @@ TEST_F(ReplaceSelectionCommandTest, pastingEmptySpan)
|
| TEST_F(ReplaceSelectionCommandTest, styleTagsInPastedHeadIncludedInContent)
|
| {
|
| document().setDesignMode("on");
|
| + updateAllLifecyclePhases();
|
| dummyPageHolder().frame().selection().setSelection(
|
| - createVisibleSelectionDeprecated(Position(document().body(), 0)));
|
| + createVisibleSelection(Position(document().body(), 0)));
|
|
|
| DocumentFragment* fragment = document().createDocumentFragment();
|
| fragment->parseHTML(
|
|
|