| Index: chrome/common/extensions/extension_file_util.cc
|
| diff --git a/chrome/common/extensions/extension_file_util.cc b/chrome/common/extensions/extension_file_util.cc
|
| index 5a225d88d02e24ce707fb7ef9539a75212f02786..72ca09dd4c31c9ef69bd4795cde53635bae4d77f 100644
|
| --- a/chrome/common/extensions/extension_file_util.cc
|
| +++ b/chrome/common/extensions/extension_file_util.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.
|
|
|
| @@ -21,6 +21,7 @@
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/extensions/api/extension_action/action_info.h"
|
| #include "chrome/common/extensions/api/extension_action/browser_action_handler.h"
|
| +#include "chrome/common/extensions/api/icons/icons_handler.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_l10n_util.h"
|
| #include "chrome/common/extensions/extension_manifest_constants.h"
|
| @@ -247,8 +248,8 @@ bool ValidateExtension(const Extension* extension,
|
| Extension::InstallWarningVector* warnings) {
|
| // Validate icons exist.
|
| for (ExtensionIconSet::IconMap::const_iterator iter =
|
| - extension->icons().map().begin();
|
| - iter != extension->icons().map().end();
|
| + extensions::IconsInfo::GetIcons(extension).map().begin();
|
| + iter != extensions::IconsInfo::GetIcons(extension).map().end();
|
| ++iter) {
|
| const FilePath path = extension->GetResource(iter->second).GetFilePath();
|
| if (!ValidateFilePath(path)) {
|
|
|