| Index: components/web_view/test_runner/launcher.cc
|
| diff --git a/components/web_view/test_runner/launcher.cc b/components/web_view/test_runner/launcher.cc
|
| index 58ce54b1a371d81e79ff2ec501bc05e7d31d81b2..8673535eb3a634d566591b461956e335dc1a976e 100644
|
| --- a/components/web_view/test_runner/launcher.cc
|
| +++ b/components/web_view/test_runner/launcher.cc
|
| @@ -6,15 +6,18 @@
|
|
|
| #include "base/bind.h"
|
| #include "base/message_loop/message_loop.h"
|
| +#include "base/path_service.h"
|
| #include "mojo/runner/context.h"
|
| #include "url/gurl.h"
|
|
|
| namespace web_view {
|
|
|
| int LaunchTestRunner(int argc, char** argv) {
|
| + base::FilePath shell_dir;
|
| + PathService::Get(base::DIR_MODULE, &shell_dir);
|
| // We want the runner::Context to outlive the MessageLoop so that pipes are
|
| // all gracefully closed / error-out before we try to shut the Context down.
|
| - mojo::runner::Context shell_context;
|
| + mojo::runner::Context shell_context(shell_dir);
|
| {
|
| base::MessageLoop message_loop;
|
| if (!shell_context.Init()) {
|
|
|