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

Unified Diff: components/omnibox/search_suggestion_parser.cc

Issue 815273002: Remove and deprecate SEARCH_SUGGEST_ANSWER (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated with Justin's suggestions Created 6 years 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: components/omnibox/search_suggestion_parser.cc
diff --git a/components/omnibox/search_suggestion_parser.cc b/components/omnibox/search_suggestion_parser.cc
index d8452ee9465435f6046366ce829e6e5fe1dd27fe..7e06d950ce574aba956dbe9323c34df7927e2542 100644
--- a/components/omnibox/search_suggestion_parser.cc
+++ b/components/omnibox/search_suggestion_parser.cc
@@ -500,7 +500,6 @@ bool SearchSuggestionParser::ParseSuggestResults(
int answer_type = 0;
if (answer && base::StringToInt(answer_type_str, &answer_type)) {
answer_parsed_successfully = true;
- match_type = AutocompleteMatchType::SEARCH_SUGGEST_ANSWER;
answer->set_type(answer_type);
answer->AddImageURLsTo(&results->answers_image_urls);
« components/omnibox/autocomplete_match_type.h ('K') | « components/omnibox/autocomplete_match_type.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698