| Index: chrome/browser/ui/omnibox/omnibox_popup_model.cc
|
| diff --git a/chrome/browser/ui/omnibox/omnibox_popup_model.cc b/chrome/browser/ui/omnibox/omnibox_popup_model.cc
|
| index fd83429a1745b79f33ee639860dbfa69ed52ecca..aa5e6b421a6088e580c6bd0df44ec0b0c71c936e 100644
|
| --- a/chrome/browser/ui/omnibox/omnibox_popup_model.cc
|
| +++ b/chrome/browser/ui/omnibox/omnibox_popup_model.cc
|
| @@ -11,12 +11,13 @@
|
| #include "base/string_util.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/autocomplete/autocomplete_match.h"
|
| -#include "chrome/browser/extensions/extension_service.h"
|
| +#include "chrome/browser/extensions/api/omnibox/omnibox_api.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/search_engines/template_url.h"
|
| #include "chrome/browser/search_engines/template_url_service.h"
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| #include "chrome/browser/ui/omnibox/omnibox_popup_view.h"
|
| +#include "ui/gfx/image/image.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| ///////////////////////////////////////////////////////////////////////////////
|
| @@ -198,7 +199,7 @@ gfx::Image OmniboxPopupModel::GetIconIfExtensionMatch(
|
| Profile* profile = edit_model_->profile();
|
| const TemplateURL* template_url = match.GetTemplateURL(profile, false);
|
| if (template_url && template_url->IsExtensionKeyword()) {
|
| - return profile->GetExtensionService()->GetOmniboxPopupIcon(
|
| + return extensions::OmniboxAPI::Get(profile)->GetOmniboxPopupIcon(
|
| template_url->GetExtensionId());
|
| }
|
| return gfx::Image();
|
|
|