| 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 ce46711b717c3a016cd7c899a8ba3efa78d78189..d00a64ef3a2f93c0b879cec5f72631bcec8a77b8 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
|
| +++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
|
| @@ -10,20 +10,26 @@
|
|
|
| namespace blink {
|
|
|
| +class CSSPaintDefinition;
|
| +class CSSPaintImageGeneratorImpl;
|
| +class PaintWorkletGlobalScope;
|
| +
|
| class PaintWorklet final : public Worklet {
|
| WTF_MAKE_NONCOPYABLE(PaintWorklet);
|
| public:
|
| static PaintWorklet* create(LocalFrame*, ExecutionContext*);
|
| ~PaintWorklet() override;
|
|
|
| - WorkletGlobalScope* workletGlobalScope() const final { return m_paintWorkletGlobalScope.get(); }
|
| + WorkletGlobalScope* workletGlobalScope() const final;
|
| + CSSPaintDefinition* findDefinition(const String& name);
|
| + void addPendingGenerator(const String& name, CSSPaintImageGeneratorImpl*);
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| private:
|
| PaintWorklet(LocalFrame*, ExecutionContext*);
|
|
|
| - Member<WorkletGlobalScope> m_paintWorkletGlobalScope;
|
| + Member<PaintWorkletGlobalScope> m_paintWorkletGlobalScope;
|
| };
|
|
|
| } // namespace blink
|
|
|