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

Unified Diff: chrome/browser/extensions/api/omnibox/omnibox_api.cc

Issue 2347973002: Enable Chrome to tweak search engines for some locales (Closed)
Patch Set: final nits Created 4 years, 3 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: chrome/browser/extensions/api/omnibox/omnibox_api.cc
diff --git a/chrome/browser/extensions/api/omnibox/omnibox_api.cc b/chrome/browser/extensions/api/omnibox/omnibox_api.cc
index 835e6619af36aef5e8b8834ae2d6f13273b39b17..5212b3588e7ac17256e4f4820ee2e521b829c72b 100644
--- a/chrome/browser/extensions/api/omnibox/omnibox_api.cc
+++ b/chrome/browser/extensions/api/omnibox/omnibox_api.cc
@@ -370,7 +370,7 @@ void ApplyDefaultSuggestionForExtensionKeyword(
const TemplateURL* keyword,
const base::string16& remaining_input,
AutocompleteMatch* match) {
- DCHECK(keyword->GetType() == TemplateURL::OMNIBOX_API_EXTENSION);
+ DCHECK(keyword->type() == TemplateURL::OMNIBOX_API_EXTENSION);
std::unique_ptr<omnibox::SuggestResult> suggestion(
GetOmniboxDefaultSuggestion(profile, keyword->GetExtensionId()));

Powered by Google App Engine
This is Rietveld 408576698