Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: mojo/public/tools/bindings/generators/python_templates/module.py.tmpl

Issue 703273002: Update mojo sdk to rev 04a510fb37db10642e156957f9b2c11c2f6442ac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix content/child -> mojo/common linking Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/tools/bindings/generators/python_templates/module.py.tmpl
diff --git a/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl b/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl
index e0dd27f35cb8e3a16e265f6e30e47d53f7b5c607..9560c291648aa4ecf2ee3086dc5eaca4deee1026 100644
--- a/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl
+++ b/mojo/public/tools/bindings/generators/python_templates/module.py.tmpl
@@ -37,7 +37,7 @@ class {{interface|name}}(object):
__metaclass__ = _reflection.MojoInterfaceType
DESCRIPTOR = {
{% if interface.client %}
- 'client': {{interface.qualified_client|fully_qualified_name}},
+ 'client': lambda: {{interface.qualified_client|fully_qualified_name}},
{% endif %}
'methods': [
{% for method in interface.methods %}

Powered by Google App Engine
This is Rietveld 408576698