Index: gin/per_isolate_data.cc |
diff --git a/gin/per_isolate_data.cc b/gin/per_isolate_data.cc |
index 99c928cdd8ea1e02b0699c2243c176e537899286..8f72d7661452c59bded0228c0dd02b0a3d6c3a7e 100644 |
--- a/gin/per_isolate_data.cc |
+++ b/gin/per_isolate_data.cc |
@@ -3,7 +3,8 @@ |
// found in the LICENSE file. |
#include "base/logging.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "gin/per_isolate_data.h" |
#include "gin/public/gin_embedders.h" |
@@ -21,7 +22,7 @@ PerIsolateData::PerIsolateData(Isolate* isolate, |
ArrayBuffer::Allocator* allocator) |
: isolate_(isolate), |
allocator_(allocator), |
- message_loop_proxy_(base::MessageLoopProxy::current()) { |
+ task_runner_(base::ThreadTaskRunnerHandle::Get()) { |
isolate_->SetData(kEmbedderNativeGin, this); |
} |