Index: gin/isolate_holder.cc |
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc |
index c05cd1e42db03c95849df9c022a0315a65b2f39f..5252400c13c5572251f72dcfb5b5e86c95ec3685 100644 |
--- a/gin/isolate_holder.cc |
+++ b/gin/isolate_holder.cc |
@@ -7,6 +7,8 @@ |
#include <stddef.h> |
#include <stdlib.h> |
#include <string.h> |
+ |
+#include <memory> |
#include <utility> |
#include "base/logging.h" |
@@ -96,7 +98,7 @@ void IsolateHolder::RemoveRunMicrotasksObserver() { |
} |
void IsolateHolder::EnableIdleTasks( |
- scoped_ptr<V8IdleTaskRunner> idle_task_runner) { |
+ std::unique_ptr<V8IdleTaskRunner> idle_task_runner) { |
DCHECK(isolate_data_.get()); |
isolate_data_->EnableIdleTasks(std::move(idle_task_runner)); |
} |