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..a7866727bca4196398aea782fbe058f3d40b9545 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::isDescriptorOnly(CSSPropertyID property) |
+{ |
+ return property >= {{descriptors[0].property_id}} && property <= {{descriptors[-1].property_id}}; |
+} |
+ |
} // namespace blink |