Index: base/trace_event/trace_event_memory.cc |
diff --git a/base/trace_event/trace_event_memory.cc b/base/trace_event/trace_event_memory.cc |
index 73c8536cac2a83a2145a88e93c35ec0a61d45490..187bf7469bff0fe26e6847a90873fb4f02536141 100644 |
--- a/base/trace_event/trace_event_memory.cc |
+++ b/base/trace_event/trace_event_memory.cc |
@@ -4,6 +4,8 @@ |
#include "base/trace_event/trace_event_memory.h" |
+#include <utility> |
+ |
#include "base/debug/leak_annotations.h" |
#include "base/lazy_instance.h" |
#include "base/location.h" |
@@ -149,7 +151,7 @@ TraceMemoryController::TraceMemoryController( |
HeapProfilerStartFunction heap_profiler_start_function, |
HeapProfilerStopFunction heap_profiler_stop_function, |
GetHeapProfileFunction get_heap_profile_function) |
- : task_runner_(task_runner.Pass()), |
+ : task_runner_(std::move(task_runner)), |
heap_profiler_start_function_(heap_profiler_start_function), |
heap_profiler_stop_function_(heap_profiler_stop_function), |
get_heap_profile_function_(get_heap_profile_function), |