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

Unified Diff: third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl

Issue 877993004: Revert "Update mojo sdk to rev 8d45c89c30b230843c5bd6dd0693a555750946c0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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: third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl
index a73ad8e39ddb4f676137b804c3cdcedf88534b69..952c0dcb02440769fc5a2224a6da816ddef936f1 100644
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl
@@ -17,7 +17,7 @@ abstract class {{interface|name}} implements core.Listener {
{{interface|name}}.unbound() :
stub = new {{interface|name}}Stub.unbound();
- void close({bool nodefer : false}) => stub.close(nodefer: nodefer);
+ void close() => stub.close();
StreamSubscription<int> listen() => stub.listen();
@@ -76,7 +76,7 @@ class {{interface|name}}Proxy extends bindings.Proxy implements {{interface|name
{%- endif %}
{%- endfor %}
default:
- throw new bindings.MojoCodecError("Unexpected message name");
+ throw new Exception("Unexpected message name");
break;
}
}
@@ -183,7 +183,7 @@ class {{interface|name}}Stub extends bindings.Stub {
break;
{%- endfor %}
default:
- throw new bindings.MojoCodecError("Unexpected message name");
+ throw new Exception("Unexpected message name");
break;
}
return null;

Powered by Google App Engine
This is Rietveld 408576698