Index: third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl |
index 0cc67d6d5b89221417b0503fc38658112617126a..046e4828e7195514a52a5b0ab5db8336b3738d6e 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl |
@@ -16,17 +16,19 @@ static_assert( |
static CSSPropertyDescriptor cssPropertyDescriptors[] = { |
// An invalid CSSPropertyDescriptor. |
{ |
- {% for valid_api_method in valid_api_methods %} |
+ {% for api_methods in all_api_method_names %} |
nullptr, |
{% endfor %} |
}, |
// CSSPropertyDescriptors for all valid properties. |
{% for api_class in api_classes %} |
{ |
- {% for api_method in api_methods if api_method in api_class.api_methods %} |
- {{api_class.classname}}::{{api_method}}, |
+ {% for api_method_name in all_api_method_names %} |
+ {% if api_method_name in methods_for_class[api_class.classname] %} |
sashab
2017/02/09 04:36:28
{% if api_method_name in api_class.methods_for_cla
|
+ {{api_class.classname}}::{{api_method_name}}, |
{% else %} |
nullptr, |
+ {% endif %} |
{% endfor %} |
}, |
{% endfor %} |