| Index: mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| index 9c225b437a010bb4cbecc6d55ad695b47661397b..0ecc615c1849f691d23a591c7e7ebc56bb38dec6 100644
|
| --- a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| +++ b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| @@ -20,10 +20,6 @@ def ExpectedArraySize(kind):
|
| def StudlyCapsToCamel(studly):
|
| return studly[0].lower() + studly[1:]
|
|
|
| -def CamelCaseToAllCaps(camel_case):
|
| - return '_'.join(
|
| - word for word in re.split(r'([A-Z][^A-Z]+)', camel_case) if word).upper()
|
| -
|
| def UnderToCamel(under):
|
| """Converts underscore_separated strings to CamelCase strings."""
|
| return ''.join(word.capitalize() for word in under.split('_'))
|
|
|