Index: components/omnibox/browser/base_search_provider.cc |
diff --git a/components/omnibox/browser/base_search_provider.cc b/components/omnibox/browser/base_search_provider.cc |
index 55aa13228d72028d036e44e70e4f9693c626eeb2..916d544a74d7084472a95cbf22b589d40574df56 100644 |
--- a/components/omnibox/browser/base_search_provider.cc |
+++ b/components/omnibox/browser/base_search_provider.cc |
@@ -238,11 +238,6 @@ AutocompleteMatch BaseSearchProvider::CreateSearchSuggestion( |
(base::CollapseWhitespace(input.text(), false) == |
suggestion.match_contents()); |
- // When the user forced a query, we need to make sure all the fill_into_edit |
- // values preserve that property. Otherwise, if the user starts editing a |
- // suggestion, non-Search results will suddenly appear. |
- if (input.type() == metrics::OmniboxInputType::FORCED_QUERY) |
- match.fill_into_edit.assign(base::ASCIIToUTF16("?")); |
if (suggestion.from_keyword_provider()) |
match.fill_into_edit.append(match.keyword + base::char16(' ')); |
// We only allow inlinable navsuggestions that were received before the |