| Index: third_party/WebKit/Source/core/editing/SelectionControllerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/SelectionControllerTest.cpp b/third_party/WebKit/Source/core/editing/SelectionControllerTest.cpp
|
| index f3862271b22c7239732751a531d631aac646da07..07311939704190426c7cbd4215af83ec1c68cb47 100644
|
| --- a/third_party/WebKit/Source/core/editing/SelectionControllerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/SelectionControllerTest.cpp
|
| @@ -67,7 +67,7 @@ TEST_F(SelectionControllerTest, setNonDirectionalSelectionIfNeeded) {
|
| .Build(),
|
| kCharacterGranularity);
|
| EXPECT_EQ(Position(top, 1), VisibleSelectionInDOMTree().Base());
|
| - EXPECT_EQ(Position::BeforeNode(host), VisibleSelectionInDOMTree().Extent());
|
| + EXPECT_EQ(Position::BeforeNode(*host), VisibleSelectionInDOMTree().Extent());
|
| EXPECT_EQ(Position(top, 1), VisibleSelectionInDOMTree().Start());
|
| EXPECT_EQ(Position(top, 3), VisibleSelectionInDOMTree().End());
|
|
|
| @@ -87,7 +87,7 @@ TEST_F(SelectionControllerTest, setNonDirectionalSelectionIfNeeded) {
|
| .Build(),
|
| kCharacterGranularity);
|
| EXPECT_EQ(Position(bottom, 3), VisibleSelectionInDOMTree().Base());
|
| - EXPECT_EQ(Position::BeforeNode(bottom->parentNode()),
|
| + EXPECT_EQ(Position::BeforeNode(*bottom->parentNode()),
|
| VisibleSelectionInDOMTree().Extent());
|
| EXPECT_EQ(Position(bottom, 0), VisibleSelectionInDOMTree().Start());
|
| EXPECT_EQ(Position(bottom, 3), VisibleSelectionInDOMTree().End());
|
|
|