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

Unified Diff: chrome/browser/ui/webui/sync_file_system_internals/dump_database_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/dump_database_handler.cc
diff --git a/chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc b/chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc
index 3eb2e4cc5f66ec61bd6007051a2e3de89528bb67..457e0ed03098a31d5469a93bbb829a7ea39b58a6 100644
--- a/chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc
+++ b/chrome/browser/ui/webui/sync_file_system_internals/dump_database_handler.cc
@@ -26,7 +26,7 @@ void DumpDatabaseHandler::RegisterMessages() {
}
void DumpDatabaseHandler::GetDatabaseDump(const base::ListValue*) {
- scoped_ptr<base::ListValue> list;
+ std::unique_ptr<base::ListValue> list;
sync_file_system::SyncFileSystemService* sync_service =
SyncFileSystemServiceFactory::GetForProfile(profile_);
if (sync_service) {

Powered by Google App Engine
This is Rietveld 408576698