| Index: components/web_view/test_runner/main.cc
|
| diff --git a/components/nacl/loader/nonsfi/nacl_helper_nonsfi_unittests.cc b/components/web_view/test_runner/main.cc
|
| similarity index 54%
|
| copy from components/nacl/loader/nonsfi/nacl_helper_nonsfi_unittests.cc
|
| copy to components/web_view/test_runner/main.cc
|
| index dbca0a6ade4716da449a3e33fb4893bea03cee30..95bf3df323d4e8fa2d42059e996952bf1ca0a00d 100644
|
| --- a/components/nacl/loader/nonsfi/nacl_helper_nonsfi_unittests.cc
|
| +++ b/components/web_view/test_runner/main.cc
|
| @@ -4,10 +4,13 @@
|
|
|
| #include "base/at_exit.h"
|
| #include "base/command_line.h"
|
| -#include "base/test/launcher/test_launcher_nacl_nonsfi.h"
|
| +#include "components/web_view/test_runner/launcher.h"
|
| +#include "mojo/runner/child_process.h"
|
| +#include "mojo/runner/init.h"
|
|
|
| -int main(int argc, char* argv[]) {
|
| - base::AtExitManager at_exit;
|
| +int main(int argc, char** argv) {
|
| base::CommandLine::Init(argc, argv);
|
| - return base::TestLauncherNonSfiMain("nacl_helper_nonsfi_unittests_main");
|
| + base::AtExitManager at_exit;
|
| + mojo::runner::InitializeLogging();
|
| + return web_view::LaunchTestRunner(argc, argv);
|
| }
|
|
|