| 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 114e2f15cb8b9a41adc312c362c2699ae1ab8d20..4db7fd6445bd599f162ace5b4daffea71e49370d 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
|
| @@ -135,8 +135,8 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) {
|
| EXPECT_EQ(table, TableElementJustBefore(
|
| VisiblePositionInFlatTree::AfterNode(*table)));
|
|
|
| - EXPECT_EQ(table,
|
| - TableElementJustBefore(VisiblePosition::LastPositionInNode(table)));
|
| + EXPECT_EQ(table, TableElementJustBefore(
|
| + VisiblePosition::LastPositionInNode(*table)));
|
| EXPECT_EQ(table, TableElementJustBefore(CreateVisiblePosition(
|
| PositionInFlatTree::LastPositionInNode(*table))));
|
|
|
| @@ -150,7 +150,7 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) {
|
| VisiblePositionInFlatTree::AfterNode(*host)));
|
|
|
| EXPECT_EQ(nullptr,
|
| - TableElementJustBefore(VisiblePosition::LastPositionInNode(host)));
|
| + TableElementJustBefore(VisiblePosition::LastPositionInNode(*host)));
|
| EXPECT_EQ(table, TableElementJustBefore(CreateVisiblePosition(
|
| PositionInFlatTree::LastPositionInNode(*host))));
|
| }
|
|
|