Index: mojo/public/tools/bindings/pylib/mojom/generate/translate.py |
diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/translate.py b/mojo/public/tools/bindings/pylib/mojom/generate/translate.py |
index bd5f3267d7016747a2cb164ef0ca60f13675bf20..5e4183a63b11b45dae11ef6becc5c2ff1e544497 100644 |
--- a/mojo/public/tools/bindings/pylib/mojom/generate/translate.py |
+++ b/mojo/public/tools/bindings/pylib/mojom/generate/translate.py |
@@ -608,10 +608,4 @@ def OrderedModule(tree, name, imports): |
{mojom.Module} An AST for the mojom. |
""" |
module = _Module(tree, name, imports) |
- for interface in module.interfaces: |
- next_ordinal = 0 |
- for method in interface.methods: |
- if method.ordinal is None: |
- method.ordinal = next_ordinal |
- next_ordinal = method.ordinal + 1 |
return module |