Index: mojo/public/tools/bindings/pylib/mojom/parse/translate.py |
diff --git a/mojo/public/tools/bindings/pylib/mojom/parse/translate.py b/mojo/public/tools/bindings/pylib/mojom/parse/translate.py |
index 2300cb6f0381da79efca73960eae00f5b59a3725..b363d9c75a0c152183d75abdf2910d767fa72f97 100644 |
--- a/mojo/public/tools/bindings/pylib/mojom/parse/translate.py |
+++ b/mojo/public/tools/bindings/pylib/mojom/parse/translate.py |
@@ -88,7 +88,7 @@ def _MapStruct(tree): |
def _MapInterface(tree): |
interface = {} |
interface['name'] = tree[1] |
- interface['peer'] = _GetAttribute(tree[2], 'Peer') |
+ interface['client'] = _GetAttribute(tree[2], 'Client') |
interface['methods'] = _MapTree(_MapMethod, tree[3], 'METHOD') |
interface['enums'] = _MapTree(_MapEnum, tree[3], 'ENUM') |
return interface |