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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h

Issue 1896893004: Hook up style invalidation for CSS Paint API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@css-paint-register
Patch Set: rebase. Created 4 years, 7 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/CSSPaintImageGeneratorImpl.h
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
index 21204eee04d4c6225b49ae36a2ee0e3006dcb560..2fae73a40908c41ef2b3bc36f6948ce7910874af 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintImageGeneratorImpl.h
@@ -23,6 +23,8 @@ public:
~CSSPaintImageGeneratorImpl() override;
PassRefPtr<Image> paint(const IntSize&) final;
+ const Vector<CSSPropertyID>& nativeInvalidationProperties() const final;
+ const Vector<AtomicString>& customInvalidationProperties() const final;
// Should be called from the PaintWorkletGlobalScope when a javascript class
// is registered with the same name.

Powered by Google App Engine
This is Rietveld 408576698