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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintWorklet.h

Issue 2178223002: Refactor Worklet class to use ScriptResource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: synced to the head Created 4 years, 4 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/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 5d3a016f563eb82a6d8efd01dfe8205ecae71a09..a438b0673062ccbe50ad4cb7f792dbc1d454a3b4 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
+++ b/third_party/WebKit/Source/modules/csspaint/PaintWorklet.h
@@ -18,7 +18,7 @@ class CSSPaintImageGeneratorImpl;
class MODULES_EXPORT PaintWorklet final : public Worklet {
WTF_MAKE_NONCOPYABLE(PaintWorklet);
public:
- static PaintWorklet* create(LocalFrame*, ExecutionContext*);
+ static PaintWorklet* create(LocalFrame*);
~PaintWorklet() override;
PaintWorkletGlobalScope* workletGlobalScopeProxy() const final;
@@ -28,7 +28,7 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- PaintWorklet(LocalFrame*, ExecutionContext*);
+ explicit PaintWorklet(LocalFrame*);
Member<PaintWorkletGlobalScope> m_paintWorkletGlobalScope;
};

Powered by Google App Engine
This is Rietveld 408576698