| Index: third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h
|
| diff --git a/third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h b/third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h
|
| index 0329ee87488174059a4d1ae05bdfce2da8806c74..000d6b0495ad2feb753253232167ff85974cf2c2 100644
|
| --- a/third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h
|
| +++ b/third_party/WebKit/Source/core/workers/WorkletModuleTreeClient.h
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "core/dom/Modulator.h"
|
| +#include "core/workers/ParentFrameTaskRunners.h"
|
| #include "core/workers/WorkletPendingTasks.h"
|
| #include "platform/heap/GarbageCollected.h"
|
|
|
| @@ -10,13 +11,16 @@ namespace blink {
|
|
|
| class ModuleScript;
|
|
|
| +// A ModuleTreeClient that lives on the worklet context's thread.
|
| class WorkletModuleTreeClient final
|
| : public GarbageCollectedFinalized<WorkletModuleTreeClient>,
|
| public ModuleTreeClient {
|
| USING_GARBAGE_COLLECTED_MIXIN(WorkletModuleTreeClient);
|
|
|
| public:
|
| - WorkletModuleTreeClient(Modulator*, WorkletPendingTasks*);
|
| + WorkletModuleTreeClient(Modulator*,
|
| + ParentFrameTaskRunners*,
|
| + WorkletPendingTasks*);
|
|
|
| // Implements ModuleTreeClient.
|
| void NotifyModuleTreeLoadFinished(ModuleScript*) final;
|
| @@ -25,7 +29,8 @@ class WorkletModuleTreeClient final
|
|
|
| private:
|
| Member<Modulator> modulator_;
|
| - Member<WorkletPendingTasks> pending_tasks_;
|
| + CrossThreadPersistent<ParentFrameTaskRunners> task_runners_;
|
| + CrossThreadPersistent<WorkletPendingTasks> pending_tasks_;
|
| };
|
|
|
| } // namespace blink
|
|
|