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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h

Issue 2716853002: (WIP) Worker: Merge ParentFrameTaskRunners into TaskRunnerHelper
Patch Set: WIP Created 3 years, 10 months 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/ThreadedMessagingProxyBase.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
index 978f805937bfc81d31bfaad14cc4bc2132aca6e1..a844d56d4cfb4b4c93e9c60ac88287feb2f78511 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
@@ -6,9 +6,9 @@
#define ThreadedMessagingProxyBase_h
#include "core/CoreExport.h"
+#include "core/dom/TaskRunnerHelper.h"
#include "core/frame/UseCounter.h"
#include "core/inspector/ConsoleTypes.h"
-#include "core/workers/ParentFrameTaskRunners.h"
#include "core/workers/WorkerLoaderProxy.h"
#include "wtf/Forward.h"
@@ -49,11 +49,6 @@ class CORE_EXPORT ThreadedMessagingProxyBase
return m_executionContext.get();
}
- // Accessed from both the parent thread and the worker.
- ParentFrameTaskRunners* getParentFrameTaskRunners() {
- return m_parentFrameTaskRunners.get();
- }
-
// Number of live messaging proxies, used by leak detection.
static int proxyCount();
@@ -95,8 +90,6 @@ class CORE_EXPORT ThreadedMessagingProxyBase
Persistent<ExecutionContext> m_executionContext;
Persistent<WorkerInspectorProxy> m_workerInspectorProxy;
- // Accessed cross-thread when worker thread posts tasks to the parent.
- CrossThreadPersistent<ParentFrameTaskRunners> m_parentFrameTaskRunners;
std::unique_ptr<WorkerThread> m_workerThread;

Powered by Google App Engine
This is Rietveld 408576698