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

Unified Diff: third_party/WebKit/Source/core/css/CSSPaintValue.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: . Created 4 years, 8 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/core/css/CSSPaintValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSPaintValue.h b/third_party/WebKit/Source/core/css/CSSPaintValue.h
index 07eb74ca86e61d44b8078e2d150d61312b932427..b29224d8ea4a7d6a6aed7633e420aec5d0993839 100644
--- a/third_party/WebKit/Source/core/css/CSSPaintValue.h
+++ b/third_party/WebKit/Source/core/css/CSSPaintValue.h
@@ -35,6 +35,15 @@ public:
bool equals(const CSSPaintValue&) const;
+ const Vector<CSSPropertyID>* nativeInvalidationProperties() const
+ {
+ return m_generator ? &m_generator->nativeInvalidationProperties() : nullptr;
+ }
+ const Vector<AtomicString>* customInvalidationProperties() const
+ {
+ return m_generator ? &m_generator->customInvalidationProperties() : nullptr;
+ }
+
DECLARE_TRACE_AFTER_DISPATCH();
private:

Powered by Google App Engine
This is Rietveld 408576698