| Index: third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
|
| index 59c61e500d6619fb4320bab1922818ad34afa63e..38dbccea2e0d9c024e2c28262417f9653d79c41a 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
|
| @@ -24,17 +24,18 @@ class MODULES_EXPORT PaintWorklet final : public MainThreadWorklet {
|
| static PaintWorklet* Create(LocalFrame*);
|
| ~PaintWorklet() override;
|
|
|
| - WorkletGlobalScopeProxy* GetWorkletGlobalScopeProxy() const final;
|
| CSSPaintDefinition* FindDefinition(const String& name);
|
| void AddPendingGenerator(const String& name, CSSPaintImageGeneratorImpl*);
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| + friend class PaintWorkletTest;
|
| +
|
| explicit PaintWorklet(LocalFrame*);
|
|
|
| - // TODO(nhiroki): Make (Paint)WorkletGlobalScopeProxy GC-managed object.
|
| - std::unique_ptr<PaintWorkletGlobalScopeProxy> global_scope_proxy_;
|
| + // Implements MainThreadWorklet.
|
| + void AddWorkletGlobalScopesIfNeeded() final;
|
| };
|
|
|
| } // namespace blink
|
|
|