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

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: removed redundant ExecutionContext parameter, changed WorkletScriptLoader to inherit from ResourceO… Created 4 years, 5 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 404ec0330f6ca96d58ad2bf0aa19a5a203c725b9..309971ac42367547b4645e2851289f97ad5335e3 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*) const;
+ static Worklet* paintWorklet(DOMWindow&);
+ PaintWorklet* paintWorklet() const;
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698