Index: third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl |
index 821a88532b71f0101fce5496aef1b5d3dd846d68..6cd825e859d5e99a8b980eff4948edb838ffa0e0 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl |
@@ -62,4 +62,9 @@ void CSSPropertyMetadata::filterEnabledCSSPropertiesIntoVector(const CSSProperty |
} |
} |
+bool CSSPropertyMetadata::isDescriptor(CSSPropertyID property) |
Timothy Loh
2016/05/31 03:24:05
let's rename this to isDecriptorOnly (similar to t
|
+{ |
+ return property >= {{descriptors[0].property_id}} && property <= {{descriptors[-1].property_id}}; |
+} |
+ |
} // namespace blink |