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 71163455ce3f87b468575310a43e5492e295626c..9c850d6c4844459f11ed09435cfa3156e5910556 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -765,8 +765,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 { |