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

Unified Diff: components/omnibox/browser/autocomplete_result.cc

Issue 2716273004: Invert description and URL for experimental zero suggest suggestions. (Closed)
Patch Set: Remove unnecessary function. Created 3 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
« no previous file with comments | « no previous file | components/omnibox/browser/features.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/autocomplete_result.cc
diff --git a/components/omnibox/browser/autocomplete_result.cc b/components/omnibox/browser/autocomplete_result.cc
index 2dd7aadce7b82e2a7bda2044be25b290eaab9735..bc51bd46845d919461dd968c60bc1d125f6c21d3 100644
--- a/components/omnibox/browser/autocomplete_result.cc
+++ b/components/omnibox/browser/autocomplete_result.cc
@@ -94,7 +94,7 @@ void AutocompleteResult::AppendMatches(const AutocompleteInput& input,
matches_.push_back(i);
if (!AutocompleteMatch::IsSearchType(i.type)) {
const OmniboxFieldTrial::EmphasizeTitlesCondition condition(
- OmniboxFieldTrial::GetEmphasizeTitlesConditionForInput(input.type()));
+ OmniboxFieldTrial::GetEmphasizeTitlesConditionForInput(input));
bool emphasize = false;
switch (condition) {
case OmniboxFieldTrial::EMPHASIZE_WHEN_NONEMPTY:
« no previous file with comments | « no previous file | components/omnibox/browser/features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698