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 fe7cd072b4006060ba4b1065b50797f452601957..3d1a45cb817792640c2d52f0e77d134a3dbdb737 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/EditingUtilitiesTest.cpp |
@@ -82,8 +82,9 @@ TEST_F(EditingUtilitiesTest, enclosingBlock) { |
Node* three = shadowRoot->getElementById("three"); |
EXPECT_EQ(host, enclosingBlock(Position(one, 0), CannotCrossEditingBoundary)); |
- EXPECT_EQ(three, enclosingBlock(PositionInFlatTree(one, 0), |
- CannotCrossEditingBoundary)); |
+ EXPECT_EQ( |
+ three, |
+ enclosingBlock(PositionInFlatTree(one, 0), CannotCrossEditingBoundary)); |
} |
TEST_F(EditingUtilitiesTest, enclosingNodeOfType) { |
@@ -131,18 +132,21 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) { |
Node* table = document().getElementById("table"); |
EXPECT_EQ(table, tableElementJustBefore(VisiblePosition::afterNode(table))); |
- EXPECT_EQ(table, tableElementJustBefore( |
- VisiblePositionInFlatTree::afterNode(table))); |
+ EXPECT_EQ( |
+ table, |
+ tableElementJustBefore(VisiblePositionInFlatTree::afterNode(table))); |
EXPECT_EQ(table, |
tableElementJustBefore(VisiblePosition::lastPositionInNode(table))); |
- EXPECT_EQ(table, tableElementJustBefore(createVisiblePosition( |
- PositionInFlatTree::lastPositionInNode(table)))); |
+ EXPECT_EQ(table, |
+ tableElementJustBefore(createVisiblePosition( |
+ PositionInFlatTree::lastPositionInNode(table)))); |
EXPECT_EQ(nullptr, |
tableElementJustBefore(createVisiblePosition(Position(host, 2)))); |
- EXPECT_EQ(table, tableElementJustBefore( |
- createVisiblePosition(PositionInFlatTree(host, 2)))); |
+ EXPECT_EQ(table, |
+ tableElementJustBefore( |
+ createVisiblePosition(PositionInFlatTree(host, 2)))); |
EXPECT_EQ(nullptr, tableElementJustBefore(VisiblePosition::afterNode(host))); |
EXPECT_EQ(nullptr, |
@@ -150,8 +154,9 @@ TEST_F(EditingUtilitiesTest, tableElementJustBefore) { |
EXPECT_EQ(nullptr, |
tableElementJustBefore(VisiblePosition::lastPositionInNode(host))); |
- EXPECT_EQ(table, tableElementJustBefore(createVisiblePosition( |
- PositionInFlatTree::lastPositionInNode(host)))); |
+ EXPECT_EQ(table, |
+ tableElementJustBefore(createVisiblePosition( |
+ PositionInFlatTree::lastPositionInNode(host)))); |
} |
TEST_F(EditingUtilitiesTest, lastEditablePositionBeforePositionInRoot) { |