| Index: chrome/browser/extensions/extension_protocols.cc
|
| diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
|
| index 53ee2ea0d60e45e7731e0e75b1f67cd2ab12de8d..22eec783889723ee889b67e2ad0854cdb43da030 100644
|
| --- a/chrome/browser/extensions/extension_protocols.cc
|
| +++ b/chrome/browser/extensions/extension_protocols.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/browser/extensions/image_loader.h"
|
| #include "chrome/browser/net/chrome_url_request_context.h"
|
| #include "chrome/common/chrome_paths.h"
|
| +#include "chrome/common/extensions/api/icons/icons_handler.h"
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_file_util.h"
|
| #include "chrome/common/extensions/extension_resource.h"
|
| @@ -294,7 +295,7 @@ bool URLIsForExtensionIcon(const GURL& url, const Extension* extension) {
|
| DCHECK_EQ(url.host(), extension->id());
|
| DCHECK(path.length() > 0 && path[0] == '/');
|
| path = path.substr(1);
|
| - return extension->icons().ContainsPath(path);
|
| + return extensions::IconsInfo::GetIcons(extension).ContainsPath(path);
|
| }
|
|
|
| class ExtensionProtocolHandler
|
|
|