Index: headless/lib/browser/types_h.template |
diff --git a/headless/lib/browser/types_h.template b/headless/lib/browser/types_h.template |
index 25b341d89dd4360752f1afe9b2c8bf0a92af5d95..51bd895d033f08f4f5c66fe33ea0c9d2346fcb95 100644 |
--- a/headless/lib/browser/types_h.template |
+++ b/headless/lib/browser/types_h.template |
@@ -39,7 +39,7 @@ namespace {{domain.domain | camelcase_to_hacker_style}} { |
{% if "enum" in type %} |
enum class {{type.id}} { |
{% for literal in type.enum %} |
- {{ literal | dash_to_camelcase | camelcase_to_hacker_style | upper | mangle_enum}}{{',' if not loop.last}} |
+ {{ literal | sanitize_literal | dash_to_camelcase | camelcase_to_hacker_style | upper }}{{',' if not loop.last}} |
{% endfor %} |
}; |