Chromium Code Reviews| 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..b1c878d061ad2325b1d8ad7a1f5213e68dc39ca1 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, HashToken); |
|
tkent
2017/03/31 15:59:55
This line caused a build failure.
https://luci-lo
|
| 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, UnicodeRangeToken); |
| return m_unicodeRange.start; |
| } |
| UChar32 unicodeRangeEnd() const { |
| - ASSERT(m_type == UnicodeRangeToken); |
| + DCHECK_EQ(m_type, UnicodeRangeToken); |
| return m_unicodeRange.end; |
| } |
| CSSValueID id() const; |