Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: chrome/browser/ui/webui/chromeos/drive_internals_ui.cc

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: Add a TODO Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698