Index: chromeos/dbus/blocking_method_caller_unittest.cc |
diff --git a/chromeos/dbus/blocking_method_caller_unittest.cc b/chromeos/dbus/blocking_method_caller_unittest.cc |
index 7a6e23c90d3f3bdc79d216354f1bcdcda18fd8da..24588c9078fcdc027c04cb56eae75cc6418c89e3 100644 |
--- a/chromeos/dbus/blocking_method_caller_unittest.cc |
+++ b/chromeos/dbus/blocking_method_caller_unittest.cc |
@@ -6,6 +6,7 @@ |
#include <memory> |
+#include "base/callback.h" |
#include "base/logging.h" |
#include "base/memory/ref_counted.h" |
#include "base/task_runner.h" |
@@ -27,9 +28,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; } |