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

Unified Diff: chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/sync_file_system_internals/sync_file_system_internals_handler.cc
diff --git a/chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc b/chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc
index 126301dfa0e50adca91506fb51a12f7dcb0738d1..f748c32645bf5819cb354a3136f0787ce44c0878 100644
--- a/chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc
+++ b/chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc
@@ -103,7 +103,7 @@ void SyncFileSystemInternalsHandler::OnLogRecorded(
dict.SetString("task_description", task_log.task_description);
dict.SetString("result_description", task_log.result_description);
- scoped_ptr<base::ListValue> details(new base::ListValue);
+ std::unique_ptr<base::ListValue> details(new base::ListValue);
details->AppendStrings(task_log.details);
dict.Set("details", details.release());
web_ui()->CallJavascriptFunction("TaskLog.onTaskLogRecorded", dict);

Powered by Google App Engine
This is Rietveld 408576698