| Index: gin/v8_platform.cc
|
| diff --git a/gin/v8_platform.cc b/gin/v8_platform.cc
|
| index c8ee770b61ce2bf962efc3a7833058196f02d029..244534ffbac79a2736747a8255b6f065ddaacfaf 100644
|
| --- a/gin/v8_platform.cc
|
| +++ b/gin/v8_platform.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/location.h"
|
| -#include "base/message_loop/message_loop_proxy.h"
|
| #include "base/threading/thread.h"
|
| #include "gin/per_isolate_data.h"
|
|
|
| @@ -32,13 +31,12 @@ void V8Platform::CallOnBackgroundThread(
|
| background_thread_.reset(new base::Thread("gin_background"));
|
| background_thread_->Start();
|
| }
|
| - background_thread_->message_loop_proxy()->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&v8::Task::Run, base::Owned(task)));
|
| + background_thread_->task_runner()->PostTask(
|
| + FROM_HERE, base::Bind(&v8::Task::Run, base::Owned(task)));
|
| }
|
|
|
| void V8Platform::CallOnForegroundThread(v8::Isolate* isolate, v8::Task* task) {
|
| - PerIsolateData::From(isolate)->message_loop_proxy()->PostTask(
|
| + PerIsolateData::From(isolate)->task_runner()->PostTask(
|
| FROM_HERE, base::Bind(&v8::Task::Run, base::Owned(task)));
|
| }
|
|
|
|
|