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

Unified Diff: third_party/WebKit/Source/web/TextFinder.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/TextFinder.cpp
diff --git a/third_party/WebKit/Source/web/TextFinder.cpp b/third_party/WebKit/Source/web/TextFinder.cpp
index 08f7445144404f3d27d76fed3fad099c62d4ac05..c87f34bd8e5e4b0aa8780ab366106179a36ce195 100644
--- a/third_party/WebKit/Source/web/TextFinder.cpp
+++ b/third_party/WebKit/Source/web/TextFinder.cpp
@@ -399,8 +399,8 @@ void TextFinder::scopeStringMatchesAlgorithm(int identifier, const WebString& se
void TextFinder::scopeStringMatches(int identifier, const WebString& searchText, const WebFindOptions& options, bool reset)
{
- if (RuntimeEnabledFeatures::selectionForComposedTreeEnabled())
- return scopeStringMatchesAlgorithm<EditingInComposedTreeStrategy>(identifier, searchText, options, reset);
+ if (RuntimeEnabledFeatures::selectionForFlatTreeEnabled())
+ return scopeStringMatchesAlgorithm<EditingInFlatTreeStrategy>(identifier, searchText, options, reset);
scopeStringMatchesAlgorithm<EditingStrategy>(identifier, searchText, options, reset);
}

Powered by Google App Engine
This is Rietveld 408576698