Index: chrome/browser/ui/webui/ntp/app_launcher_handler.h |
diff --git a/chrome/browser/ui/webui/ntp/app_launcher_handler.h b/chrome/browser/ui/webui/ntp/app_launcher_handler.h |
index f774923ee6cd7a488fad42e6e3de1096ae9e3cb7..b1ddc870f05610195b0f47856e3836f61647c227 100644 |
--- a/chrome/browser/ui/webui/ntp/app_launcher_handler.h |
+++ b/chrome/browser/ui/webui/ntp/app_launcher_handler.h |
@@ -83,10 +83,10 @@ class AppLauncherHandler |
// Populate the given dictionary with all installed app info. |
void FillAppDictionary(base::DictionaryValue* value); |
- // Create a dictionary value for the given extension. May return NULL, e.g. if |
- // the given extension is not an app. If non-NULL, the caller assumes |
- // ownership of the pointer. |
- base::DictionaryValue* GetAppInfo(const extensions::Extension* extension); |
+ // Create a dictionary value for the given extension. May return null, e.g. if |
+ // the given extension is not an app. |
+ std::unique_ptr<base::DictionaryValue> GetAppInfo( |
+ const extensions::Extension* extension); |
// Populate the given dictionary with the web store promo content. |
void FillPromoDictionary(base::DictionaryValue* value); |