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 441d58ba5c00d8603f5bd9d7c61f602050b87cf1..825e0e5fd7be9d75e7f6a0679674c4c4c12afb5b 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -2504,12 +2504,17 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase, |
PassRefPtr<CSSVariableData>, |
const CSSValue*); |
- void removeInheritedVariable(const AtomicString&); |
- void removeNonInheritedVariable(const AtomicString&); |
+ void removeVariable(const AtomicString&, bool isInheritedProperty); |
// Handles both inherited and non-inherited variables |
CSSVariableData* getVariable(const AtomicString&) const; |
+ CSSVariableData* getVariable(const AtomicString&, |
+ bool isInheritedProperty) const; |
+ |
+ const CSSValue* getRegisteredVariable(const AtomicString&, |
+ bool isInheritedProperty) const; |
+ |
void setHasVariableReferenceFromNonInheritedProperty() { |
m_nonInheritedData.m_variableReference = true; |
} |