Index: sky/examples/dart-mojo.sky |
diff --git a/sky/examples/dart-mojo.sky b/sky/examples/dart-mojo.sky |
index e69f99e1d0429026db6a947d99401d0f5bfb2f0e..c540292739a9acc26d064fe72707c1fd0b9cc7e8 100644 |
--- a/sky/examples/dart-mojo.sky |
+++ b/sky/examples/dart-mojo.sky |
@@ -20,7 +20,7 @@ class WGet extends Application { |
WGet.fromHandle(MojoHandle handle) : super.fromHandle(handle); |
WGet(MojoMessagePipeEndpoint endpoint) : super(endpoint); |
- void initialize(List<String> args) { |
+ void initialize(List<String> args, String url) { |
run(args); |
} |
@@ -75,7 +75,7 @@ main() { |
var wget = new WGet(messagePipe.endpoints[1]); |
wget.listen(); |
var shellProxy = new shell_mojom.ShellProxy.fromHandle(new MojoHandle(internals.passShellProxyHandle())); |
zra
2015/02/13 07:14:23
If Dart code in .sky files should follow Dart styl
abarth-chromium
2015/02/13 07:16:50
Will fix.
|
- wget.initializeFromShellProxy(shellProxy, ["mojo:wget", "http://www.google.com"]); |
+ wget.initializeFromShellProxy(shellProxy, ["mojo:wget", "http://www.google.com"], "mojo:wget"); |
} |
</script> |