Index: mojo/public/cpp/application/lib/application_test_main.cc |
diff --git a/mojo/public/cpp/application/lib/application_test_main.cc b/mojo/public/cpp/application/lib/application_test_main.cc |
index 3f96a478126b47663d3437aa71b75826ebb6abe6..128d8aef350067ba168a146266740cc7696128a4 100644 |
--- a/mojo/public/cpp/application/lib/application_test_main.cc |
+++ b/mojo/public/cpp/application/lib/application_test_main.cc |
@@ -5,13 +5,10 @@ |
#include "mojo/public/c/system/main.h" |
#include "mojo/public/cpp/application/application_test_base.h" |
#include "mojo/public/cpp/environment/environment.h" |
-#include "mojo/public/interfaces/application/shell.mojom.h" |
-MojoResult MojoMain(MojoHandle shell_handle) { |
+MojoResult MojoMain(MojoHandle handle) { |
// An Environment instance is needed to construct run loops. |
mojo::Environment environment; |
- mojo::ShellPtr shell; |
- shell.Bind(MakeScopedHandle(mojo::MessagePipeHandle(shell_handle))); |
- return mojo::test::RunAllTests(shell.Pass()); |
+ return mojo::test::RunAllTests(handle); |
} |