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

Unified Diff: third_party/WebKit/Source/web/tests/TextFinderTest.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/web/tests/TextFinderTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/TextFinderTest.cpp b/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
index dc79c9f70374412e547454a6092adb04a728f5a3..a3ec1cc8e5f6b46a19b817f03fc69bc4980e458e 100644
--- a/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
+++ b/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
@@ -198,7 +198,7 @@ TEST_F(TextFinderTest, FindTextInShadowDOM)
bool wrapWithinFrame = true;
WebRect* selectionRect = nullptr;
- // TextIterator currently returns the matches in the composed treeorder, so
+ // TextIterator currently returns the matches in the flat treeorder, so
// in this case the matches will be returned in the order of
// <i> -> <u> -> <b>.
ASSERT_TRUE(textFinder().find(identifier, searchText, findOptions, wrapWithinFrame, selectionRect));
@@ -315,7 +315,7 @@ TEST_F(TextFinderTest, ScopeTextMatchesWithShadowDOM)
while (textFinder().scopingInProgress())
runPendingTasks();
- // TextIterator currently returns the matches in the composed tree order,
+ // TextIterator currently returns the matches in the flat tree order,
// so in this case the matches will be returned in the order of
// <i> -> <u> -> <b>.
EXPECT_EQ(3, textFinder().totalMatchCount());

Powered by Google App Engine
This is Rietveld 408576698