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

Unified Diff: third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.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/WindowPaintWorklet.h
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
index a74b5623497d5c2e1e40305babbb1b334016d303..330af6cfa4f703f77662aad333f16ca913fa3999 100644
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
+++ b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
@@ -13,7 +13,6 @@
namespace blink {
class DOMWindow;
-class ExecutionContext;
class PaintWorklet;
class Worklet;
@@ -21,8 +20,8 @@ class MODULES_EXPORT WindowPaintWorklet final : public GarbageCollected<WindowPa
USING_GARBAGE_COLLECTED_MIXIN(WindowPaintWorklet);
public:
static WindowPaintWorklet& from(LocalDOMWindow&);
- static Worklet* paintWorklet(ExecutionContext*, DOMWindow&);
- PaintWorklet* paintWorklet(ExecutionContext*);
+ static Worklet* paintWorklet(DOMWindow&);
+ PaintWorklet* paintWorklet();
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698