| 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 e3e2de8e6f5c824b278ace6428042ae63ff79900..b40b1e293dfea021224eebf57ce5fa78df06435b 100644
|
| --- a/third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/UseCounter.cpp
|
| @@ -738,8 +738,7 @@ void UseCounter::countCrossOriginIframe(const Document& document, Feature featur
|
|
|
| void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID property)
|
| {
|
| - DCHECK(property >= firstCSSProperty);
|
| - DCHECK(property <= lastUnresolvedCSSProperty);
|
| + DCHECK(isPropertyIDWithName(property));
|
|
|
| if (!isUseCounterEnabledForMode(cssParserMode) || m_muteCount)
|
| return;
|
|
|