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

Unified Diff: chrome/browser/extensions/extension_util.cc

Issue 2576833002: Make some updates to extension iconography. (Closed)
Patch Set: add test Created 4 years 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/browser/extensions/extension_util.cc
diff --git a/chrome/browser/extensions/extension_util.cc b/chrome/browser/extensions/extension_util.cc
index 5faefc6e7a0592ad95035f8b5ae8b8a5cc5966a3..db027e029c8b51562bbb646dfefa64ac36ba9159 100644
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -310,11 +310,9 @@ std::unique_ptr<base::DictionaryValue> GetExtensionInfo(
dict->SetString("name", extension->name());
GURL icon = extensions::ExtensionIconSource::GetIconURL(
- extension,
- extension_misc::EXTENSION_ICON_SMALLISH,
+ extension, extension_misc::EXTENSION_ICON_SMALLISH,
ExtensionIconSet::MATCH_BIGGER,
- false, // Not grayscale.
- NULL); // Don't set bool if exists.
+ false); // Not grayscale.
dict->SetString("icon", icon.spec());
return dict;

Powered by Google App Engine
This is Rietveld 408576698