| Index: Source/core/css/StylePropertySet.cpp
|
| diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp
|
| index 02f01fffe6c2404c8d2f8d310b04e982e255596e..4517dc56c5c41959d862a2cd021462e5ceebbb5f 100644
|
| --- a/Source/core/css/StylePropertySet.cpp
|
| +++ b/Source/core/css/StylePropertySet.cpp
|
| @@ -110,8 +110,8 @@ int ImmutableStylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
|
| uint16_t id = static_cast<uint16_t>(propertyID);
|
| for (int n = m_arraySize - 1 ; n >= 0; --n) {
|
| if (metadataArray()[n].m_propertyID == id) {
|
| - // Only enabled or internal properties should be part of the style.
|
| - ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID) || isInternalProperty(propertyID));
|
| + // Only enabled properties should be part of the style.
|
| + ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID));
|
| return n;
|
| }
|
| }
|
| @@ -550,8 +550,8 @@ int MutableStylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
|
| const CSSProperty* properties = m_propertyVector.data();
|
| for (int n = m_propertyVector.size() - 1 ; n >= 0; --n) {
|
| if (properties[n].metadata().m_propertyID == id) {
|
| - // Only enabled or internal properties should be part of the style.
|
| - ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID) || isInternalProperty(propertyID));
|
| + // Only enabled properties should be part of the style.
|
| + ASSERT(CSSPropertyMetadata::isEnabledProperty(propertyID));
|
| return n;
|
| }
|
| }
|
|
|