Index: gin/per_isolate_data.cc |
diff --git a/gin/per_isolate_data.cc b/gin/per_isolate_data.cc |
index cec082174bf5a598291e86043c205516148b8ff0..a6101582fa335406643f895bb30907120a3db94e 100644 |
--- a/gin/per_isolate_data.cc |
+++ b/gin/per_isolate_data.cc |
@@ -4,6 +4,8 @@ |
#include "gin/per_isolate_data.h" |
+#include <utility> |
+ |
#include "base/logging.h" |
#include "base/single_thread_task_runner.h" |
#include "base/thread_task_runner_handle.h" |
@@ -113,7 +115,7 @@ NamedPropertyInterceptor* PerIsolateData::GetNamedPropertyInterceptor( |
void PerIsolateData::EnableIdleTasks( |
scoped_ptr<V8IdleTaskRunner> idle_task_runner) { |
- idle_task_runner_ = idle_task_runner.Pass(); |
+ idle_task_runner_ = std::move(idle_task_runner); |
} |
} // namespace gin |