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); |
} |