| 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 a7933f2a8c77693bf13820f4a3072bd59afc9e1e..b48cf2a89486bcb704e3532a8141b398ce2d5cb6 100644
|
| --- a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
|
| +++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
|
| @@ -14,6 +14,7 @@
|
| namespace blink {
|
|
|
| class Image;
|
| +class LayoutObject;
|
| class ScriptState;
|
|
|
| // Represents a javascript class registered on the PaintWorkletGlobalScope by
|
| @@ -29,7 +30,7 @@ public:
|
| //
|
| // This may return a nullptr (representing an invalid image) if javascript
|
| // throws an error.
|
| - PassRefPtr<Image> paint(const IntSize&);
|
| + PassRefPtr<Image> paint(const LayoutObject&, const IntSize&);
|
| const Vector<CSSPropertyID>& nativeInvalidationProperties() const { return m_nativeInvalidationProperties; }
|
| const Vector<AtomicString>& customInvalidationProperties() const { return m_customInvalidationProperties; }
|
|
|
|
|