diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 21:35:47 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 21:35:47 +0000 |
commit | 0cb5f50d4ca4adf74fc574b17c3f192cccb74fbe (patch) | |
tree | adb2f92ce1818b8efead0e496db618dd14be7632 /chrome/common/extensions/extension.cc | |
parent | 1ae07c3121021be32bbfefd0c4ae97f82e08bddf (diff) | |
download | chromium_src-0cb5f50d4ca4adf74fc574b17c3f192cccb74fbe.zip chromium_src-0cb5f50d4ca4adf74fc574b17c3f192cccb74fbe.tar.gz chromium_src-0cb5f50d4ca4adf74fc574b17c3f192cccb74fbe.tar.bz2 |
The Management UI now fetches the icon for each extension
and shows it on the page.
BUG=12119
TEST=Open chrome://extensions and all extensions that
have an icon associated with them, should show the
icon and those that don't have the generic plugin
icon.
Review URL: http://codereview.chromium.org/292048
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29714 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension.cc')
-rw-r--r-- | chrome/common/extensions/extension.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc index e6e5e14..17cd0dc 100644 --- a/chrome/common/extensions/extension.cc +++ b/chrome/common/extensions/extension.cc @@ -1127,8 +1127,7 @@ void Extension::SetBackgroundPageReady() { } ExtensionResource Extension::GetIconPath(Icons icon) { - std::map<int, std::string>::const_iterator iter = - icons_.find(Extension::EXTENSION_ICON_LARGE); + std::map<int, std::string>::const_iterator iter = icons_.find(icon); if (iter == icons_.end()) return ExtensionResource(); return GetResource(iter->second); |