Index: chromeos/tpm/tpm_token_info_getter_unittest.cc |
diff --git a/chromeos/tpm/tpm_token_info_getter_unittest.cc b/chromeos/tpm/tpm_token_info_getter_unittest.cc |
index 6e6a9d977fbf59631257897f504fb26871873322..db58ad617a4c790074c4cd68112f4f300cd2a74c 100644 |
--- a/chromeos/tpm/tpm_token_info_getter_unittest.cc |
+++ b/chromeos/tpm/tpm_token_info_getter_unittest.cc |
@@ -5,6 +5,7 @@ |
#include <stdint.h> |
#include <string> |
+#include <utility> |
#include <vector> |
#include "base/bind.h" |
@@ -60,10 +61,10 @@ class FakeTaskRunner : public base::TaskRunner { |
// base::TaskRunner overrides: |
bool PostDelayedTask(const tracked_objects::Location& from_here, |
- const base::Closure& task, |
+ base::Closure task, |
base::TimeDelta delay) override { |
delays_->push_back(delay.InMilliseconds()); |
- base::ThreadTaskRunnerHandle::Get()->PostTask(from_here, task); |
+ base::ThreadTaskRunnerHandle::Get()->PostTask(from_here, std::move(task)); |
return true; |
} |
bool RunsTasksOnCurrentThread() const override { return true; } |