Index: third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp |
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp |
index 36e7cf38c8864fb5bcea25194a2a55a5c0b796e2..cc58e9b632af0fcae17bf573b5742d3dcb220513 100644 |
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp |
+++ b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.cpp |
@@ -32,15 +32,15 @@ WindowPaintWorklet& WindowPaintWorklet::from(LocalDOMWindow& window) |
} |
// static |
-Worklet* WindowPaintWorklet::paintWorklet(ExecutionContext* executionContext, DOMWindow& window) |
+Worklet* WindowPaintWorklet::paintWorklet(DOMWindow& window) |
{ |
- return from(toLocalDOMWindow(window)).paintWorklet(executionContext); |
+ return from(toLocalDOMWindow(window)).paintWorklet(); |
} |
-PaintWorklet* WindowPaintWorklet::paintWorklet(ExecutionContext* executionContext) |
+PaintWorklet* WindowPaintWorklet::paintWorklet() |
{ |
if (!m_paintWorklet && frame()) |
- m_paintWorklet = PaintWorklet::create(frame(), executionContext); |
+ m_paintWorklet = PaintWorklet::create(frame()); |
return m_paintWorklet.get(); |
} |