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

Unified Diff: chrome/browser/sync/test/integration/bookmarks_helper.cc

Issue 1882243004: Convert //chrome/browser/sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback 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/sync/test/integration/bookmarks_helper.cc
diff --git a/chrome/browser/sync/test/integration/bookmarks_helper.cc b/chrome/browser/sync/test/integration/bookmarks_helper.cc
index a21790c426078536927c1ab417700b745b2dd284..264691a6bbe6b29faf38e91d7fc99c6193525953 100644
--- a/chrome/browser/sync/test/integration/bookmarks_helper.cc
+++ b/chrome/browser/sync/test/integration/bookmarks_helper.cc
@@ -320,8 +320,7 @@ void WaitForHistoryToProcessPendingTasks() {
base::WaitableEvent done(false, false);
base::CancelableTaskTracker task_tracker;
history_service->ScheduleDBTask(
- scoped_ptr<history::HistoryDBTask>(
- new HistoryEmptyTask(&done)),
+ std::unique_ptr<history::HistoryDBTask>(new HistoryEmptyTask(&done)),
&task_tracker);
done.Wait();
}
« no previous file with comments | « chrome/browser/sync/sync_ui_util_unittest.cc ('k') | chrome/browser/sync/test/integration/extension_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698