Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: third_party/WebKit/Source/core/editing/EditingStrategyTest.cpp

Issue 1675163002: Rename ComposedTree to FlatTree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698