| 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 b15506626927185b952a4264d19438562cca42ce..1e60262b207090e183d2966a1203d84308dc6464 100644
|
| --- a/third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp
|
| @@ -18,7 +18,10 @@ TEST_F(SelectionAdjusterTest, adjustSelectionInFlatTree) {
|
| Node* const foo = sample->firstChild();
|
| // Select "foo"
|
| VisibleSelection selection =
|
| - createVisibleSelection(Position(foo, 0), Position(foo, 3));
|
| + createVisibleSelection(SelectionInDOMTree::Builder()
|
| + .collapse(Position(foo, 0))
|
| + .extend(Position(foo, 3))
|
| + .build());
|
| SelectionAdjuster::adjustSelectionInFlatTree(&selectionInFlatTree, selection);
|
| EXPECT_EQ(PositionInFlatTree(foo, 0), selectionInFlatTree.start());
|
| EXPECT_EQ(PositionInFlatTree(foo, 3), selectionInFlatTree.end());
|
|
|