Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index 05211d40a3a876ec084baed44ad0fe78022795bf..b0bd7a52535df8f6fc0aa2af138e87a971cc5583 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -785,8 +785,8 @@ void LocationBarView::Layout() { |
TemplateURLServiceFactory::GetForProfile(profile_)-> |
GetTemplateURLForKeyword(keyword); |
if (template_url && template_url->IsExtensionKeyword()) { |
- gfx::Image image = profile_->GetExtensionService()->GetOmniboxIcon( |
- template_url->GetExtensionId()); |
+ gfx::Image image = extensions::ExtensionSystem::Get(profile_)-> |
+ extension_service()->GetOmniboxIcon(template_url->GetExtensionId()); |
selected_keyword_view_->SetImage(image.AsImageSkia()); |
selected_keyword_view_->set_is_extension_icon(true); |
} else { |