| 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 2f2866dc3c0eb5f273f4f6e84882d4ecd34a4fa3..eb00000a420fdb9606989cb27239323de19149a1 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp
|
| @@ -131,9 +131,9 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) {
|
| Node* host = GetDocument().getElementById("host");
|
| Node* table = GetDocument().getElementById("table");
|
|
|
| - EXPECT_EQ(table, TableElementJustBefore(VisiblePosition::AfterNode(table)));
|
| + EXPECT_EQ(table, TableElementJustBefore(VisiblePosition::AfterNode(*table)));
|
| EXPECT_EQ(table, TableElementJustBefore(
|
| - VisiblePositionInFlatTree::AfterNode(table)));
|
| + VisiblePositionInFlatTree::AfterNode(*table)));
|
|
|
| EXPECT_EQ(table,
|
| TableElementJustBefore(VisiblePosition::LastPositionInNode(table)));
|
| @@ -145,9 +145,9 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) {
|
| EXPECT_EQ(table, TableElementJustBefore(
|
| CreateVisiblePosition(PositionInFlatTree(host, 2))));
|
|
|
| - EXPECT_EQ(nullptr, TableElementJustBefore(VisiblePosition::AfterNode(host)));
|
| - EXPECT_EQ(nullptr,
|
| - TableElementJustBefore(VisiblePositionInFlatTree::AfterNode(host)));
|
| + EXPECT_EQ(nullptr, TableElementJustBefore(VisiblePosition::AfterNode(*host)));
|
| + EXPECT_EQ(nullptr, TableElementJustBefore(
|
| + VisiblePositionInFlatTree::AfterNode(*host)));
|
|
|
| EXPECT_EQ(nullptr,
|
| TableElementJustBefore(VisiblePosition::LastPositionInNode(host)));
|
|
|