Index: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc |
index 276cca0d767b902be2943cf36c67df1d2c8db6d0..68036269a2ea7d6dccf66c5c7b5e2ab1d03b17ac 100644 |
--- a/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/drive_internals_ui.cc |
@@ -353,7 +353,7 @@ void DriveInternalsWebUIHandler::OnGetAppList( |
base::ListValue* items = new base::ListValue(); |
for (size_t i = 0; i < parsed_app_list->items().size(); ++i) { |
- const google_apis::AppResource* app = parsed_app_list->items()[i]; |
+ const google_apis::AppResource* app = parsed_app_list->items()[i].get(); |
auto app_data = base::MakeUnique<base::DictionaryValue>(); |
app_data->SetString("name", app->name()); |
app_data->SetString("application_id", app->application_id()); |