| Index: third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/UseCounter.cpp b/third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| index 917c357850da6959714a814c96fab55f4071fae8..90251cb47a6832eeaf89700d5e8dea8ac7dc8ae3 100644
|
| --- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| @@ -1213,8 +1213,7 @@ void UseCounter::countCrossOriginIframe(const Document& document,
|
| }
|
|
|
| void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID property) {
|
| - DCHECK(property >= firstCSSProperty);
|
| - DCHECK(property <= lastUnresolvedCSSProperty);
|
| + DCHECK(isCSSPropertyIDWithName(property));
|
|
|
| if (!isUseCounterEnabledForMode(cssParserMode) || m_muteCount)
|
| return;
|
|
|