Index: third_party/WebKit/Source/core/css/parser/CSSParserToken.h |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserToken.h b/third_party/WebKit/Source/core/css/parser/CSSParserToken.h |
index 694713c0e529840bbe5aa6471818dca1d58405b9..a82fcbf29f3d1bb7e155996b227beb87ab55abdf 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserToken.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserToken.h |
@@ -115,7 +115,7 @@ class CORE_EXPORT CSSParserToken { |
NumericValueType numericValueType() const; |
double numericValue() const; |
HashTokenType getHashTokenType() const { |
- ASSERT(m_type == HashToken); |
+ DCHECK_EQ(m_type, static_cast<unsigned>(HashToken)); |
return m_hashTokenType; |
} |
BlockType getBlockType() const { return static_cast<BlockType>(m_blockType); } |
@@ -123,11 +123,11 @@ class CORE_EXPORT CSSParserToken { |
return static_cast<CSSPrimitiveValue::UnitType>(m_unit); |
} |
UChar32 unicodeRangeStart() const { |
- ASSERT(m_type == UnicodeRangeToken); |
+ DCHECK_EQ(m_type, static_cast<unsigned>(UnicodeRangeToken)); |
return m_unicodeRange.start; |
} |
UChar32 unicodeRangeEnd() const { |
- ASSERT(m_type == UnicodeRangeToken); |
+ DCHECK_EQ(m_type, static_cast<unsigned>(UnicodeRangeToken)); |
return m_unicodeRange.end; |
} |
CSSValueID id() const; |