| Index: third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
|
| diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
|
| index adcd75cc99f8ad197f48ce163bd439fd84002cbc..c562ed479e410383884ba32a41bba72695a783f6 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
|
| +++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
|
| @@ -18,8 +18,8 @@
|
| namespace blink {
|
|
|
| class Image;
|
| -class LayoutObject;
|
| class ScriptState;
|
| +class ImageResourceObserver;
|
|
|
| // Represents a javascript class registered on the PaintWorkletGlobalScope by
|
| // the author. It will store the properties for invalidation and input argument
|
| @@ -44,7 +44,7 @@ class CSSPaintDefinition final
|
| //
|
| // This may return a nullptr (representing an invalid image) if javascript
|
| // throws an error.
|
| - PassRefPtr<Image> Paint(const LayoutObject&,
|
| + PassRefPtr<Image> Paint(const ImageResourceObserver&,
|
| const IntSize&,
|
| const CSSStyleValueVector*);
|
| const Vector<CSSPropertyID>& NativeInvalidationProperties() const {
|
|
|