Index: gin/v8_platform.cc |
diff --git a/gin/v8_platform.cc b/gin/v8_platform.cc |
index c8ee770b61ce2bf962efc3a7833058196f02d029..31a26af38d168ba4c6a83e0244eacf0b7ccabbc8 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,9 +31,8 @@ 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) { |