Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/parser/CSSParserValues.h |
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserValues.h b/third_party/WebKit/Source/core/css/parser/CSSParserValues.h |
| index 28294b7d0e6d36234338cec0100d46b6e61e3d37..125f74f18fb0919543cb9e187d6c4ee8e618b031 100644 |
| --- a/third_party/WebKit/Source/core/css/parser/CSSParserValues.h |
| +++ b/third_party/WebKit/Source/core/css/parser/CSSParserValues.h |
| @@ -28,6 +28,7 @@ |
| #include "core/css/parser/CSSParserTokenRange.h" |
| #include "wtf/Allocator.h" |
| + |
| namespace blink { |
| class QualifiedName; |
| @@ -51,6 +52,7 @@ struct CSSParserValue { |
| UChar32 start; |
| UChar32 end; |
| } m_unicodeRange; |
| + CSSVariableData* variableData; |
| }; |
| enum { |
| Operator = 0x100000, |
| @@ -107,8 +109,10 @@ public: |
| void clearAndLeakValues() { m_values.clear(); m_current = 0;} |
| void destroyAndClear(); |
| - |
| private: |
| + void checkForVariableReferencesOrDestroyAndClear(const CSSParserTokenRange& originalRange); |
| + void consumeVariableValue(const CSSParserTokenRange&); |
| + |
| unsigned m_current; |
| Vector<CSSParserValue, 4> m_values; |
| }; |
| @@ -151,6 +155,6 @@ inline void CSSParserValue::setFromValueList(PassOwnPtr<CSSParserValueList> valu |
| isInt = false; |
| } |
| -} |
| +}; |
|
Timothy Loh
2015/09/30 02:09:28
unrelated
|
| #endif |