| Index: third_party/WebKit/Source/build/scripts/templates/MediaFeatures.h.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/MediaFeatures.h.tmpl b/third_party/WebKit/Source/build/scripts/templates/MediaFeatures.h.tmpl
|
| index d4a56ab0eb1f8bacb4d4e2595bf4efd2ec06c565..e357f3b1c269aa206090fb129fcb4deb342036f8 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/MediaFeatures.h.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/MediaFeatures.h.tmpl
|
| @@ -6,7 +6,9 @@
|
|
|
| #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \
|
| {% for entry in entries %}
|
| - macro({{entry|symbol}}){% if not loop.last %} \
|
| + {% set constant_prefix = entry | symbol %}
|
| + {% set method_prefix = constant_prefix | upper_first_letter %}
|
| + macro({{constant_prefix}}, {{method_prefix}}){% if not loop.last %} \
|
| {% endif %}
|
| {% endfor %}
|
|
|
|
|