Index: mojo/public/dart/src/application.dart |
diff --git a/mojo/public/dart/src/application.dart b/mojo/public/dart/src/application.dart |
index 2819625a30c74782a1ae52e3344e67c08d60674a..9f32473e2b8e1e980076f949c0ae53097606043f 100644 |
--- a/mojo/public/dart/src/application.dart |
+++ b/mojo/public/dart/src/application.dart |
@@ -68,6 +68,13 @@ abstract class Application { |
_applicationImpl = new _ApplicationImpl.fromHandle(this, appHandle); |
} |
+ // TODO(skydart): This is a temporary fix to allow sky application to consume |
+ // mojo services. Do not use for any other purpose. |
+ void initializeFromShellProxy(shell_mojom.ShellProxy shellProxy, |
+ List<String> args) { |
+ _applicationImpl.initialize(shellProxy, args); |
+ } |
+ |
void initialize(List<String> args) {} |
void connectToService(String url, bindings.Proxy proxy) { |