| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index 728006cc84d1da8dc8df6f73899c9c668ea09b53..0a0a9c43f26e21e6cf4be11e6656945f914f62c3 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -1704,7 +1704,15 @@ Extension::Icons Extension::GetIconResourceAllowLargerSize(
|
| return ret;
|
| }
|
|
|
| -GURL Extension::GetIconUrlAllowLargerSize(Icons icon) {
|
| +GURL Extension::GetIconURL(Icons icon) {
|
| + std::string path = GetIconPath(icon);
|
| + if (path.empty())
|
| + return GURL();
|
| + else
|
| + return GetResourceURL(path);
|
| +}
|
| +
|
| +GURL Extension::GetIconURLAllowLargerSize(Icons icon) {
|
| std::string path;
|
| GetIconPathAllowLargerSize(&path, icon);
|
| return GetResourceURL(path);
|
|
|