Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Unified Diff: Source/core/css/StylePropertySet.cpp

Issue 879443006: Remove isInternalProperty (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/StylePropertySerializer.cpp ('k') | Source/core/css/parser/CSSParserMode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
}
« no previous file with comments | « Source/core/css/StylePropertySerializer.cpp ('k') | Source/core/css/parser/CSSParserMode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698