Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: chrome/common/extensions/api/extension_action/action_info.cc

Issue 2447553003: More pre-MD odds and ends. (Closed)
Patch Set: fix typo Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/extension_action/action_info.cc
diff --git a/chrome/common/extensions/api/extension_action/action_info.cc b/chrome/common/extensions/api/extension_action/action_info.cc
index fb14e9f1958b145213f0ab98e43378e61e886d54..767eb6e0c6b5897ed50be82c191a7883adf683ec 100644
--- a/chrome/common/extensions/api/extension_action/action_info.cc
+++ b/chrome/common/extensions/api/extension_action/action_info.cc
@@ -73,7 +73,8 @@ std::unique_ptr<ActionInfo> ActionInfo::Load(const Extension* extension,
*error = base::ASCIIToUTF16(errors::kInvalidPageActionIconPath);
return std::unique_ptr<ActionInfo>();
}
- result->default_icon.Add(extension_misc::EXTENSION_ICON_ACTION, path);
+ // Extension icons were 19 DIP when kPageActionIcons was supported.
+ result->default_icon.Add(19, path);
}
std::string id;
« no previous file with comments | « chrome/common/chrome_constants.cc ('k') | chrome/common/extensions/api/extension_action/page_action_manifest_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698