| 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();
|
| }
|
|
|
|
|