blinkbuild: Use NameStyleConverter in enum_for_css_keyword(),...
blinkbuild: Use NameStyleConverter in enum_for_css_keyword(), enum_for_css_property(), and enum_for_css_property_alias(). We'd like to reduce the usage of _upper_camel_case(). enum_for_css_keyword() and enum_for_css_property() accept a str or a NameStyleConveter instance as an argument because their multiple callsites have only strings, and creating NameStyleConveter in callsites would make the code noisy. The generated code won't be changed at all. Bug: 843927 Change-Id: I64f7bb81f24a0d5caab1d81b477fcaab561bca9f Reviewed-on: https://chromium-review.googlesource.com/1077714 Commit-Queue: Kent Tamura <tkent@chromium.org> Reviewed-by:Hitoshi Yoshida <peria@chromium.org> Cr-Commit-Position: refs/heads/master@{#562760}
Showing
Please register or sign in to comment