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

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

Issue 2639153004: Worker: Stop accessing ExecutionContext passed by ExecutionContextTask (Closed)
Patch Set: address review comments Created 3 years, 11 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/ThreadedWorkletObjectProxy.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h
index 78bbe6294b2ccc07d4d892fb5ea3e1ab04e8cc25..78d6304ce83e4c4eb90a0d6e699a496f00dd8b9a 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletObjectProxy.h
@@ -14,6 +14,7 @@
namespace blink {
class ThreadedWorkletMessagingProxy;
+class WorkerThread;
// A proxy to talk to the parent worker object. See class comments on
// ThreadedObjectProxyBase.h for lifetime of this class etc.
@@ -27,7 +28,9 @@ class CORE_EXPORT ThreadedWorkletObjectProxy : public ThreadedObjectProxyBase {
ParentFrameTaskRunners*);
~ThreadedWorkletObjectProxy() override;
- void reportPendingActivity(bool hasPendingActivity);
+ void evaluateScript(const String& source,
+ const KURL& scriptURL,
+ WorkerThread*);
// ThreadedObjectProxyBase overrides.
void reportException(const String& errorMessage,

Powered by Google App Engine
This is Rietveld 408576698