| 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 8d02359b2e084e5231b1e72a56818be86994e6e5..af14ead8cbc2c8c110467bffb28d101dc3866204 100644
|
| --- a/mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| +++ b/mojo/public/tools/bindings/pylib/mojom/generate/generator.py
|
| @@ -47,10 +47,6 @@ 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('_'))
|
| -
|
| def WriteFile(contents, full_path):
|
| # Make sure the containing directory exists.
|
| full_dir = os.path.dirname(full_path)
|
|
|