| Index: third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp b/third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
|
| index 614c5e41e54ebe66c43bb556d17e99d9629bd892..ba01e67f13348ca5b094c2c8ae6ac54b126f1bda 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
|
| @@ -425,7 +425,9 @@ TEST_F(VisibleSelectionTest, updateIfNeededWithShadowHost) {
|
|
|
| // Simulates saving selection in undo stack.
|
| VisibleSelection selection =
|
| - createVisibleSelection(Position(sample->firstChild(), 0));
|
| + createVisibleSelection(SelectionInDOMTree::Builder()
|
| + .collapse(Position(sample->firstChild(), 0))
|
| + .build());
|
| EXPECT_EQ(Position(sample->firstChild(), 0), selection.start());
|
|
|
| // Simulates modifying DOM tree to invalidate distribution.
|
|
|