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