Index: third_party/WebKit/Source/build/scripts/make_css_property_names.py |
diff --git a/third_party/WebKit/Source/build/scripts/make_css_property_names.py b/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
index 5bdaa1c55ae3d3cfad22c4b3531f8d487e03e01b..2360d0cfd9b8bcad3a5dea55f282fac0b2bbba11 100755 |
--- a/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
+++ b/third_party/WebKit/Source/build/scripts/make_css_property_names.py |
@@ -28,7 +28,9 @@ namespace blink { |
enum CSSPropertyID { |
CSSPropertyInvalid = 0, |
- CSSPropertyVariable = 1, |
+ // This isn't a property, but we need to know the position of @apply rules in style rules |
+ CSSPropertyApplyAtRule = 1, |
+ CSSPropertyVariable = 2, |
%(property_enums)s |
}; |
@@ -45,7 +47,7 @@ WTF::String getJSPropertyName(CSSPropertyID); |
inline CSSPropertyID convertToCSSPropertyID(int value) |
{ |
- ASSERT((value >= firstCSSProperty && value <= lastCSSProperty) || value == CSSPropertyInvalid || value == CSSPropertyVariable); |
+ ASSERT(value >= CSSPropertyInvalid && value <= lastCSSProperty); |
return static_cast<CSSPropertyID>(value); |
} |