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

Unified Diff: chrome/browser/profiles/profile_window_browsertest.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/profiles/profile_window_browsertest.cc
diff --git a/chrome/browser/profiles/profile_window_browsertest.cc b/chrome/browser/profiles/profile_window_browsertest.cc
index 7e212e66eb57d57160950b0874f10d4f0face87c..30f580966fefe0b21bb9178f8f427cc53555a2fc 100644
--- a/chrome/browser/profiles/profile_window_browsertest.cc
+++ b/chrome/browser/profiles/profile_window_browsertest.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/profiles/profile_window.h"
#include <stddef.h>
+#include <utility>
#include "base/command_line.h"
#include "base/macros.h"
@@ -73,7 +74,7 @@ void WaitForHistoryBackendToRun(Profile* profile) {
scoped_ptr<history::HistoryDBTask> task(new WaitForHistoryTask());
history::HistoryService* history = HistoryServiceFactory::GetForProfile(
profile, ServiceAccessType::EXPLICIT_ACCESS);
- history->ScheduleDBTask(task.Pass(), &task_tracker);
+ history->ScheduleDBTask(std::move(task), &task_tracker);
content::RunMessageLoop();
}

Powered by Google App Engine
This is Rietveld 408576698