Index: chrome/browser/ui/omnibox/chrome_omnibox_client.cc |
diff --git a/chrome/browser/ui/omnibox/chrome_omnibox_client.cc b/chrome/browser/ui/omnibox/chrome_omnibox_client.cc |
index f8d9c69828e79acac58c3293a6eb83ec8e962702..0089256506337c24efc58b65dc839028a8342a46 100644 |
--- a/chrome/browser/ui/omnibox/chrome_omnibox_client.cc |
+++ b/chrome/browser/ui/omnibox/chrome_omnibox_client.cc |
@@ -212,7 +212,7 @@ gfx::Image ChromeOmniboxClient::GetIconIfExtensionMatch( |
TemplateURLServiceFactory::GetForProfile(profile_); |
const TemplateURL* template_url = match.GetTemplateURL(service, false); |
if (template_url && |
- (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION)) { |
+ (template_url->type() == TemplateURL::OMNIBOX_API_EXTENSION)) { |
return extensions::OmniboxAPI::Get(profile_) |
->GetOmniboxPopupIcon(template_url->GetExtensionId()); |
} |
@@ -224,7 +224,7 @@ bool ChromeOmniboxClient::ProcessExtensionKeyword( |
const AutocompleteMatch& match, |
WindowOpenDisposition disposition, |
OmniboxNavigationObserver* observer) { |
- if (template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION) |
+ if (template_url->type() != TemplateURL::OMNIBOX_API_EXTENSION) |
return false; |
// Strip the keyword + leading space off the input, but don't exceed |