Index: third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp |
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp |
index 733767a4f43127258381682ea97c5778e8e27feb..77acd138cdcf9e92d71d37d37a7fc89af0c2cd2b 100644 |
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp |
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.cpp |
@@ -16,7 +16,7 @@ namespace blink { |
CSSPaintImageGenerator* CSSPaintImageGeneratorImpl::create(const String& name, Document& document, Observer* observer) |
{ |
LocalDOMWindow* domWindow = document.domWindow(); |
- PaintWorklet* paintWorklet = WindowPaintWorklet::from(*domWindow).paintWorklet(&document); |
+ PaintWorklet* paintWorklet = WindowPaintWorklet::from(*domWindow).paintWorklet(); |
CSSPaintDefinition* paintDefinition = paintWorklet->findDefinition(name); |
CSSPaintImageGeneratorImpl* generator; |