Index: chrome/browser/chromeos/login/users/mock_user_manager.cc |
diff --git a/chrome/browser/chromeos/login/users/mock_user_manager.cc b/chrome/browser/chromeos/login/users/mock_user_manager.cc |
index 828db9f833daca8c6fcf888bc879544ed31e6194..ac144a42c33547cb1db627d4d9a314fe39276842 100644 |
--- a/chrome/browser/chromeos/login/users/mock_user_manager.cc |
+++ b/chrome/browser/chromeos/login/users/mock_user_manager.cc |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/chromeos/login/users/mock_user_manager.h" |
+#include "base/callback_helpers.h" |
#include "base/task_runner.h" |
#include "chrome/browser/chromeos/login/users/fake_supervised_user_manager.h" |
#include "chrome/browser/chromeos/profiles/profile_helper.h" |
@@ -13,9 +14,9 @@ namespace { |
class FakeTaskRunner : public base::TaskRunner { |
public: |
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(); |
sky
2017/03/22 17:34:11
?
|
return true; |
} |
bool RunsTasksOnCurrentThread() const override { return true; } |