summaryrefslogtreecommitdiffstats
path: root/extensions/common/manifest_handlers
diff options
context:
space:
mode:
authorestade <estade@chromium.org>2015-12-07 17:14:44 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-08 01:15:32 +0000
commitfd2986d06d57ad04fc6f8db79ddb7a42d6445e03 (patch)
tree9966f25630ef76d2c3db1579b7838a276c4abd54 /extensions/common/manifest_handlers
parent15b58d72a18f0a59cac142cfb81245d0bf3ae077 (diff)
downloadchromium_src-fd2986d06d57ad04fc6f8db79ddb7a42d6445e03.zip
chromium_src-fd2986d06d57ad04fc6f8db79ddb7a42d6445e03.tar.gz
chromium_src-fd2986d06d57ad04fc6f8db79ddb7a42d6445e03.tar.bz2
Allow arbitrary sizes for extension icons (and bookmark app icons)
BUG=564926 Review URL: https://codereview.chromium.org/1504453002 Cr-Commit-Position: refs/heads/master@{#363669}
Diffstat (limited to 'extensions/common/manifest_handlers')
-rw-r--r--extensions/common/manifest_handlers/icons_handler.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/extensions/common/manifest_handlers/icons_handler.cc b/extensions/common/manifest_handlers/icons_handler.cc
index 8535d9b..20ad025 100644
--- a/extensions/common/manifest_handlers/icons_handler.cc
+++ b/extensions/common/manifest_handlers/icons_handler.cc
@@ -64,11 +64,7 @@ bool IconsHandler::Parse(Extension* extension, base::string16* error) {
}
if (!manifest_handler_helpers::LoadIconsFromDictionary(
- icons_dict,
- extension_misc::kExtensionIconSizes,
- extension_misc::kNumExtensionIconSizes,
- &icons_info->icons,
- error)) {
+ icons_dict, &icons_info->icons, error)) {
return false;
}