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

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

Issue 2546043002: Worker: Fix cross-thread violations on ObjectProxy (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp
index 51171c0580cfe626399b88768ce927d382222497..7f39c1ba9c385fa58b90fab98d56d470d679d4d7 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp
@@ -90,8 +90,8 @@ InProcessWorkerMessagingProxy::InProcessWorkerMessagingProxy(
m_workerObject(workerObject),
m_workerClients(workerClients),
m_weakPtrFactory(this) {
- m_workerObjectProxy =
- InProcessWorkerObjectProxy::create(m_weakPtrFactory.createWeakPtr());
+ m_workerObjectProxy = InProcessWorkerObjectProxy::create(
+ m_weakPtrFactory.createWeakPtr(), getParentFrameTaskRunners());
}
InProcessWorkerMessagingProxy::~InProcessWorkerMessagingProxy() {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698