| Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| index e73891547f7efbdd48e45f43f0f5bbdc675d2ff6..fc11c4b5bcd73ed3e904c9bf96b9c13b193b3c6f 100644
|
| --- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
| @@ -26,6 +26,7 @@
|
| #include "chrome/browser/defaults.h"
|
| #include "chrome/browser/extensions/api/commands/command_service.h"
|
| #include "chrome/browser/extensions/api/commands/command_service_factory.h"
|
| +#include "chrome/browser/extensions/api/omnibox/omnibox_api.h"
|
| #include "chrome/browser/extensions/extension_action.h"
|
| #include "chrome/browser/extensions/extension_service.h"
|
| #include "chrome/browser/extensions/extension_tab_util.h"
|
| @@ -1367,7 +1368,7 @@ void LocationBarViewGtk::SetKeywordLabel(const string16& keyword) {
|
| if (is_extension_keyword) {
|
| const TemplateURL* template_url =
|
| template_url_service->GetTemplateURLForKeyword(keyword);
|
| - gfx::Image image = profile->GetExtensionService()->
|
| + gfx::Image image = extensions::OmniboxAPI::Get(profile)->
|
| GetOmniboxIcon(template_url->GetExtensionId());
|
| gtk_image_set_from_pixbuf(GTK_IMAGE(tab_to_search_magnifier_),
|
| image.ToGdkPixbuf());
|
|
|