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

Unified Diff: components/search_engines/template_url.cc

Issue 1224083010: Enable Answers in Suggest always. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android compile issue Created 5 years, 5 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: components/search_engines/template_url.cc
diff --git a/components/search_engines/template_url.cc b/components/search_engines/template_url.cc
index b30914c082c6960fb65e9f6361a3e6212b80f417..8202fa4483c0d7d0569b9bf5da797ff44b1c2f26 100644
--- a/components/search_engines/template_url.cc
+++ b/components/search_engines/template_url.cc
@@ -1083,8 +1083,7 @@ std::string TemplateURLRef::HandleReplacements(
break;
case GOOGLE_SEARCH_VERSION:
- if (search_terms_data.EnableAnswersInSuggest())
- HandleReplacement("gs_rn", "42", *i, &url);
+ HandleReplacement("gs_rn", "42", *i, &url);
break;
case GOOGLE_SESSION_TOKEN: {

Powered by Google App Engine
This is Rietveld 408576698