| Index: third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp b/third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp
|
| index a8aec12420fbc1a9a04666f5db9cc1dbd7415be3..95207a85f93d44a7f9b4a70d1ac919dd9918351f 100644
|
| --- a/third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp
|
| @@ -19,7 +19,7 @@ TEST_F(SelectionAdjusterTest, adjustSelectionInFlatTree)
|
| Node* const sample = document().getElementById("sample");
|
| Node* const foo = sample->firstChild();
|
| // Select "foo"
|
| - VisibleSelection selection(Position(foo, 0), Position(foo, 3));
|
| + VisibleSelection selection = createVisibleSelectionDeprecated(Position(foo, 0), Position(foo, 3));
|
| SelectionAdjuster::adjustSelectionInFlatTree(&selectionInFlatTree, selection);
|
| EXPECT_EQ(PositionInFlatTree(foo, 0), selectionInFlatTree.start());
|
| EXPECT_EQ(PositionInFlatTree(foo, 3), selectionInFlatTree.end());
|
| @@ -33,7 +33,7 @@ TEST_F(SelectionAdjusterTest, adjustSelectionInDOMTree)
|
| Node* const sample = document().getElementById("sample");
|
| Node* const foo = sample->firstChild();
|
| // Select "foo"
|
| - VisibleSelectionInFlatTree selectionInFlatTree(
|
| + VisibleSelectionInFlatTree selectionInFlatTree = createVisibleSelectionDeprecated(
|
| PositionInFlatTree(foo, 0),
|
| PositionInFlatTree(foo, 3));
|
| SelectionAdjuster::adjustSelectionInDOMTree(&selection, selectionInFlatTree);
|
|
|