Index: Source/core/css/parser/CSSParserToken.h |
diff --git a/Source/core/css/parser/CSSParserToken.h b/Source/core/css/parser/CSSParserToken.h |
index 2576ee136f3daf19c6a55629afd0b28ea6123f09..3261c6fe8e2614ae99ca618af36c0b81063fe7a2 100644 |
--- a/Source/core/css/parser/CSSParserToken.h |
+++ b/Source/core/css/parser/CSSParserToken.h |
@@ -104,6 +104,7 @@ public: |
HashTokenType hashTokenType() const { ASSERT(m_type == HashToken); return m_hashTokenType; } |
BlockType blockType() const { return static_cast<BlockType>(m_blockType); } |
CSSPrimitiveValue::UnitType unitType() const { return static_cast<CSSPrimitiveValue::UnitType>(m_unit); } |
+ void setUnitType(CSSPrimitiveValue::UnitType unitType) { m_unit = static_cast<int>(unitType); } |
UChar32 unicodeRangeStart() const { ASSERT(m_type == UnicodeRangeToken); return m_unicodeRange.start; } |
UChar32 unicodeRangeEnd() const { ASSERT(m_type == UnicodeRangeToken); return m_unicodeRange.end; } |
CSSValueID id() const; |