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

Unified Diff: extensions/common/manifest_handlers/icons_handler.cc

Issue 2900783003: Handle app custom icon via aura::Window property. (Closed)
Patch Set: fix mac compile Created 3 years, 7 months 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
« no previous file with comments | « extensions/browser/app_window/app_window_registry.cc ('k') | extensions/shell/browser/shell_app_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/icons_handler.cc
diff --git a/extensions/common/manifest_handlers/icons_handler.cc b/extensions/common/manifest_handlers/icons_handler.cc
index 2825ae917b7dcf672fd4551ffa9d0b5ed79a9467..6fb5ce537fc736bdc74a35f2ab4606058937443a 100644
--- a/extensions/common/manifest_handlers/icons_handler.cc
+++ b/extensions/common/manifest_handlers/icons_handler.cc
@@ -28,6 +28,7 @@ static base::LazyInstance<ExtensionIconSet>::DestructorAtExit g_empty_icon_set =
// static
const ExtensionIconSet& IconsInfo::GetIcons(const Extension* extension) {
+ DCHECK(extension);
IconsInfo* info = static_cast<IconsInfo*>(
extension->GetManifestData(keys::kIcons));
return info ? info->icons : g_empty_icon_set.Get();
« no previous file with comments | « extensions/browser/app_window/app_window_registry.cc ('k') | extensions/shell/browser/shell_app_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698