| Index: third_party/WebKit/Source/core/css/CSSVariableData.h
|
| diff --git a/third_party/WebKit/Source/core/css/CSSVariableData.h b/third_party/WebKit/Source/core/css/CSSVariableData.h
|
| index 5e195110da8a8bf82d3396f8542f655d22ba2a0e..974a9bd4e16a6781bc48b939965d9ce0c9329391 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSVariableData.h
|
| +++ b/third_party/WebKit/Source/core/css/CSSVariableData.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CSSVariableData_h
|
| #define CSSVariableData_h
|
|
|
| +#include "core/css/StylePropertySet.h"
|
| #include "core/css/parser/CSSParserToken.h"
|
| #include "core/css/parser/CSSParserTokenRange.h"
|
| #include "wtf/RefCounted.h"
|
| @@ -35,6 +36,9 @@ public:
|
| bool operator==(const CSSVariableData& other) const;
|
|
|
| bool needsVariableResolution() const { return m_needsVariableResolution; }
|
| +
|
| + const StylePropertySet* propertySet();
|
| +
|
| private:
|
| CSSVariableData(const CSSParserTokenRange&, bool needsVariableResolution);
|
|
|
| @@ -46,6 +50,7 @@ private:
|
| : m_backingString(backingString)
|
| , m_tokens(resolvedTokens)
|
| , m_needsVariableResolution(false)
|
| + , m_cachedPropertySet(false)
|
| { }
|
|
|
| void consumeAndUpdateTokens(const CSSParserTokenRange&);
|
| @@ -54,6 +59,10 @@ private:
|
| String m_backingString;
|
| Vector<CSSParserToken> m_tokens;
|
| const bool m_needsVariableResolution;
|
| +
|
| + // Parsed representation for @apply
|
| + bool m_cachedPropertySet;
|
| + RefPtrWillBePersistent<StylePropertySet> m_propertySet;
|
| };
|
|
|
| } // namespace blink
|
|
|