Index: components/user_manager/fake_user_manager.cc |
diff --git a/components/user_manager/fake_user_manager.cc b/components/user_manager/fake_user_manager.cc |
index fac0724d6de169f52b6e2ce682ed84ce72ab843b..6ff34819f034eb3a7e33a633380a8f1720dced5f 100644 |
--- a/components/user_manager/fake_user_manager.cc |
+++ b/components/user_manager/fake_user_manager.cc |
@@ -19,9 +19,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(); |
return true; |
} |
bool RunsTasksOnCurrentThread() const override { return true; } |