Index: third_party/WebKit/Source/core/editing/EditingStrategyTest.cpp |
diff --git a/third_party/WebKit/Source/core/editing/EditingStrategyTest.cpp b/third_party/WebKit/Source/core/editing/EditingStrategyTest.cpp |
index 66469a47cadaa516d0e9dce4b1034a852bdae60c..cf28548b9395577b771e9eb7d8742f86c765dd5c 100644 |
--- a/third_party/WebKit/Source/core/editing/EditingStrategyTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/EditingStrategyTest.cpp |
@@ -26,10 +26,10 @@ TEST_F(EditingStrategyTest, caretMaxOffset) |
EXPECT_EQ(1, EditingStrategy::caretMaxOffset(*one->firstChild())); |
EXPECT_EQ(2, EditingStrategy::caretMaxOffset(*two->firstChild())); |
- EXPECT_EQ(2, EditingInComposedTreeStrategy::caretMaxOffset(*host)); |
- EXPECT_EQ(1, EditingInComposedTreeStrategy::caretMaxOffset(*one)); |
- EXPECT_EQ(1, EditingInComposedTreeStrategy::caretMaxOffset(*one->firstChild())); |
- EXPECT_EQ(2, EditingInComposedTreeStrategy::caretMaxOffset(*two->firstChild())); |
+ EXPECT_EQ(2, EditingInFlatTreeStrategy::caretMaxOffset(*host)); |
+ EXPECT_EQ(1, EditingInFlatTreeStrategy::caretMaxOffset(*one)); |
+ EXPECT_EQ(1, EditingInFlatTreeStrategy::caretMaxOffset(*one->firstChild())); |
+ EXPECT_EQ(2, EditingInFlatTreeStrategy::caretMaxOffset(*two->firstChild())); |
} |
} // namespace blink |