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

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: fix component build. 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..a5f4ecbbff54c1e090043f3ac74d8cb236c9b3a1 100644
--- a/third_party/WebKit/Source/core/css/CSSPaintValue.h
+++ b/third_party/WebKit/Source/core/css/CSSPaintValue.h
@@ -35,6 +35,17 @@ public:
bool equals(const CSSPaintValue&) const;
+ const Vector<CSSPropertyID>& nativeInvalidationProperties() const
+ {
+ DCHECK(m_generator);
ikilpatrick 2016/04/19 22:31:25 This is potentially bad, the m_generator doesn't e
+ return m_generator->nativeInvalidationProperties();
+ }
+ const Vector<AtomicString>& customInvalidationProperties() const
+ {
+ DCHECK(m_generator);
+ return m_generator->customInvalidationProperties();
+ }
+
DECLARE_TRACE_AFTER_DISPATCH();
private:

Powered by Google App Engine
This is Rietveld 408576698