| Index: chrome/browser/extensions/extension_icon_manager.cc
|
| diff --git a/chrome/browser/extensions/extension_icon_manager.cc b/chrome/browser/extensions/extension_icon_manager.cc
|
| index 404b2e5b106a0e60b560430bfab5af12b494b8da..fabd29139f387898c6b671e0da8092ed108fba30 100644
|
| --- a/chrome/browser/extensions/extension_icon_manager.cc
|
| +++ b/chrome/browser/extensions/extension_icon_manager.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -8,6 +8,7 @@
|
| #include "base/logging.h"
|
| #include "base/stl_util.h"
|
| #include "chrome/browser/extensions/image_loader.h"
|
| +#include "chrome/common/extensions/api/icons/icons_handler.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
| #include "chrome/common/extensions/extension_icon_set.h"
|
| @@ -53,8 +54,10 @@ ExtensionIconManager::~ExtensionIconManager() {
|
|
|
| void ExtensionIconManager::LoadIcon(Profile* profile,
|
| const extensions::Extension* extension) {
|
| - ExtensionResource icon_resource = extension->GetIconResource(
|
| - extension_misc::EXTENSION_ICON_BITTY, ExtensionIconSet::MATCH_BIGGER);
|
| + ExtensionResource icon_resource = extensions::IconsInfo::GetIconResource(
|
| + extension,
|
| + extension_misc::EXTENSION_ICON_BITTY,
|
| + ExtensionIconSet::MATCH_BIGGER);
|
| if (!icon_resource.extension_root().empty()) {
|
| // Insert into pending_icons_ first because LoadImage can call us back
|
| // synchronously if the image is already cached.
|
|
|