Index: gin/isolate_holder.cc |
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc |
index 45f689a5b095415572ad787491530cfa8f8bc243..d2e494cf6a9f1dfaff361a287e9d975b0c28d5b7 100644 |
--- a/gin/isolate_holder.cc |
+++ b/gin/isolate_holder.cc |
@@ -7,6 +7,7 @@ |
#include <stddef.h> |
#include <stdlib.h> |
#include <string.h> |
+#include <utility> |
#include "base/logging.h" |
#include "base/message_loop/message_loop.h" |
@@ -97,7 +98,7 @@ void IsolateHolder::RemoveRunMicrotasksObserver() { |
void IsolateHolder::EnableIdleTasks( |
scoped_ptr<V8IdleTaskRunner> idle_task_runner) { |
DCHECK(isolate_data_.get()); |
- isolate_data_->EnableIdleTasks(idle_task_runner.Pass()); |
+ isolate_data_->EnableIdleTasks(std::move(idle_task_runner)); |
} |
} // namespace gin |