| Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| index 1429db445e1b53844228dcdf18a326b29529c7de..efdc481dfc8899178b3e40a6bd80de5f78e87b46 100644
|
| --- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| @@ -90,14 +90,12 @@ void Deprecation::unmuteForInspector() {
|
| }
|
|
|
| void Deprecation::suppress(CSSPropertyID unresolvedProperty) {
|
| - ASSERT(unresolvedProperty >= firstCSSProperty);
|
| - ASSERT(unresolvedProperty <= lastUnresolvedCSSProperty);
|
| + DCHECK(isCSSPropertyIDWithName(unresolvedProperty));
|
| m_cssPropertyDeprecationBits.quickSet(unresolvedProperty);
|
| }
|
|
|
| bool Deprecation::isSuppressed(CSSPropertyID unresolvedProperty) {
|
| - ASSERT(unresolvedProperty >= firstCSSProperty);
|
| - ASSERT(unresolvedProperty <= lastUnresolvedCSSProperty);
|
| + DCHECK(isCSSPropertyIDWithName(unresolvedProperty));
|
| return m_cssPropertyDeprecationBits.quickGet(unresolvedProperty);
|
| }
|
|
|
|
|