| Index: third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
|
| index aeae25413d2ab891185b7869502b026cf4dd93b5..114e2f15cb8b9a41adc312c362c2699ae1ab8d20 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
|
| @@ -64,7 +64,7 @@ TEST_F(EditingUtilitiesTest, firstEditablePositionAfterPositionInRoot) {
|
| EXPECT_EQ(PositionInFlatTree::AfterNode(*host),
|
| FirstEditablePositionAfterPositionInRoot(
|
| PositionInFlatTree(three, 0), *host));
|
| - EXPECT_EQ(PositionInFlatTree::LastPositionInNode(host),
|
| + EXPECT_EQ(PositionInFlatTree::LastPositionInNode(*host),
|
| FirstEditableVisiblePositionAfterPositionInRoot(
|
| PositionInFlatTree(three, 0), *host)
|
| .DeepEquivalent());
|
| @@ -138,7 +138,7 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) {
|
| EXPECT_EQ(table,
|
| TableElementJustBefore(VisiblePosition::LastPositionInNode(table)));
|
| EXPECT_EQ(table, TableElementJustBefore(CreateVisiblePosition(
|
| - PositionInFlatTree::LastPositionInNode(table))));
|
| + PositionInFlatTree::LastPositionInNode(*table))));
|
|
|
| EXPECT_EQ(nullptr,
|
| TableElementJustBefore(CreateVisiblePosition(Position(host, 2))));
|
| @@ -152,7 +152,7 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) {
|
| EXPECT_EQ(nullptr,
|
| TableElementJustBefore(VisiblePosition::LastPositionInNode(host)));
|
| EXPECT_EQ(table, TableElementJustBefore(CreateVisiblePosition(
|
| - PositionInFlatTree::LastPositionInNode(host))));
|
| + PositionInFlatTree::LastPositionInNode(*host))));
|
| }
|
|
|
| TEST_F(EditingUtilitiesTest, lastEditablePositionBeforePositionInRoot) {
|
|
|