Index: chrome/browser/automation/automation_provider_observers.cc |
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc |
index f31c2dde8b59aed14407a48bbde5fb41d73b1b5d..7a7823d172692f2bc8b850c6317375827ee55959 100644 |
--- a/chrome/browser/automation/automation_provider_observers.cc |
+++ b/chrome/browser/automation/automation_provider_observers.cc |
@@ -1765,8 +1765,9 @@ std::vector<DictionaryValue*>* GetAppInfoFromExtensions( |
// Only return information about extensions that are actually apps. |
if ((*ext)->is_app()) { |
DictionaryValue* app_info = new DictionaryValue(); |
- AppLauncherHandler::CreateAppInfo(*ext, ext_service, app_info); |
- app_info->SetBoolean("is_component_extension", |
+ AppLauncherHandler::CreateAppInfo(ext->get(), ext_service, app_info); |
+ app_info->SetBoolean( |
+ "is_component_extension", |
(*ext)->location() == extensions::Manifest::COMPONENT); |
// Convert the launch_type integer into a more descriptive string. |