Chromium Code Reviews| 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..944b31eef771225a3752227e8367398beef0261f 100644 |
| --- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl |
| +++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyDescriptor.cpp.tmpl |
| @@ -23,8 +23,8 @@ static CSSPropertyDescriptor cssPropertyDescriptors[] = { |
| // 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 in api_methods if api_class.classname in api_method['classnames'] %} |
|
sashab
2017/02/08 04:00:03
for api_method in api_class['api_methods_full'] if
|
| + {{api_class.classname}}::{{api_method['name']}}, |
| {% else %} |
| nullptr, |
| {% endfor %} |