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

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

Issue 2613223002: Remove ScopedVector from base::JSONValueConverter (Closed)
Patch Set: Rebase and address comments from mmenke@ 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 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());

Powered by Google App Engine
This is Rietveld 408576698