Index: chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc |
diff --git a/chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc b/chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc |
index 645140d3de57e593e1972d3fd73a4d4d274983a9..5881b69c149478da8efd43decbe2ab039a673fb3 100644 |
--- a/chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc |
+++ b/chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc |
@@ -6,6 +6,7 @@ |
#include <set> |
+#include "base/callback.h" |
#include "base/command_line.h" |
#include "base/memory/ptr_util.h" |
#include "base/sys_info.h" |
@@ -36,9 +37,9 @@ class FakeTaskRunner : public base::TaskRunner { |
private: |
// base::TaskRunner overrides. |
bool PostDelayedTask(const tracked_objects::Location& from_here, |
- const base::Closure& task, |
+ base::Closure task, |
base::TimeDelta delay) override { |
- task.Run(); |
+ std::move(task).Run(); |
return true; |
} |
bool RunsTasksOnCurrentThread() const override { return true; } |