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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2426323003: Invalidate properties registered as non-inherited for custom paint (Closed)
Patch Set: Created 4 years, 2 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/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index c1c73fbd439684a58600bfd5ed95c9d64b9f4256..6152fa9e3b9a2a33df438d9be6b6be6d076513e4 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -2704,6 +2704,9 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
void removeInheritedVariable(const AtomicString&);
void removeNonInheritedVariable(const AtomicString&);
+ // Handles both inherited and non-inherited variables
+ CSSVariableData* getVariable(const AtomicString&) const;
+
void setHasVariableReferenceFromNonInheritedProperty() {
m_nonInheritedData.m_variableReference = true;
}

Powered by Google App Engine
This is Rietveld 408576698