Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1002)

Unified Diff: third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp

Issue 2589363003: Use timer task runner for V8PerIsolate tasks (Closed)
Patch Set: One more fix Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp b/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
index 5a5842220c4b2fa1e1c0fc10f75a177b9bdd3588..3f79258bcb29de8bf74128bf6f05d0cefe2d5daf 100644
--- a/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp
@@ -64,7 +64,8 @@ WorkerBackingThread::~WorkerBackingThread() {}
void WorkerBackingThread::initialize() {
DCHECK(!m_isolate);
m_backingThread->initialize();
- m_isolate = V8PerIsolateData::initialize();
+ m_isolate = V8PerIsolateData::initialize(
+ m_backingThread->platformThread().getWebTaskRunner());
addWorkerIsolate(m_isolate);
V8Initializer::initializeWorker(m_isolate);

Powered by Google App Engine
This is Rietveld 408576698