Index: chrome/browser/automation/automation_provider_observers.cc |
=================================================================== |
--- chrome/browser/automation/automation_provider_observers.cc (revision 95021) |
+++ chrome/browser/automation/automation_provider_observers.cc (working copy) |
@@ -1981,10 +1981,8 @@ |
ext != extensions->end(); ++ext) { |
// Only return information about extensions that are actually apps. |
if ((*ext)->is_app()) { |
- DictionaryValue* app_info = |
- AppLauncherHandler::CreateAppInfo(*ext, NULL, ext_service); |
- if (!app_info) |
- continue; |
+ DictionaryValue* app_info = new DictionaryValue(); |
+ AppLauncherHandler::CreateAppInfo(*ext, NULL, ext_service, app_info); |
app_info->SetBoolean("is_component_extension", |
(*ext)->location() == Extension::COMPONENT); |