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 71f4295febc900653415ce2e7180972caf9c58a4..6aa065b554117d4ee93292345c13d6b3a67296c9 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()); |