| 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 fe52c71871922a46a8d2fab77c162ffea93ff889..4ba8ba4da5c11310d22e4c3d9b824f6f0f359799 100644
|
| --- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
|
| @@ -91,15 +91,13 @@ void Deprecation::unmuteForInspector()
|
|
|
| void Deprecation::suppress(CSSPropertyID unresolvedProperty)
|
| {
|
| - ASSERT(unresolvedProperty >= firstCSSProperty);
|
| - ASSERT(unresolvedProperty <= lastUnresolvedCSSProperty);
|
| + DCHECK(propertyHasName(unresolvedProperty));
|
| m_cssPropertyDeprecationBits.quickSet(unresolvedProperty);
|
| }
|
|
|
| bool Deprecation::isSuppressed(CSSPropertyID unresolvedProperty)
|
| {
|
| - ASSERT(unresolvedProperty >= firstCSSProperty);
|
| - ASSERT(unresolvedProperty <= lastUnresolvedCSSProperty);
|
| + DCHECK(propertyHasName(unresolvedProperty));
|
| return m_cssPropertyDeprecationBits.quickGet(unresolvedProperty);
|
| }
|
|
|
|
|