Index: chrome/browser/history/history_browsertest.cc |
diff --git a/chrome/browser/history/history_browsertest.cc b/chrome/browser/history/history_browsertest.cc |
index edf247797687bf28f185e45f2438ce99646c1dae..c68cac5d9419e52cd5a40a6365b8990de1082ab7 100644 |
--- a/chrome/browser/history/history_browsertest.cc |
+++ b/chrome/browser/history/history_browsertest.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <utility> |
#include <vector> |
#include "base/bind.h" |
@@ -102,7 +103,7 @@ class HistoryBrowserTest : public InProcessBrowserTest { |
scoped_ptr<history::HistoryDBTask> task(new WaitForHistoryTask()); |
history::HistoryService* history = HistoryServiceFactory::GetForProfile( |
GetProfile(), ServiceAccessType::EXPLICIT_ACCESS); |
- history->ScheduleDBTask(task.Pass(), &task_tracker); |
+ history->ScheduleDBTask(std::move(task), &task_tracker); |
content::RunMessageLoop(); |
} |