| Index: mojo/runner/android/main.cc
|
| diff --git a/mojo/runner/android/main.cc b/mojo/runner/android/main.cc
|
| index 9759f824be7b7bee86ddd084be7d49e2164d215c..2b4de3f70fa9820849c2739473135d2f9f40c242 100644
|
| --- a/mojo/runner/android/main.cc
|
| +++ b/mojo/runner/android/main.cc
|
| @@ -132,9 +132,9 @@
|
| // We want ~MessageLoop to happen prior to ~Context. Initializing
|
| // LazyInstances is akin to stack-allocating objects; their destructors
|
| // will be invoked first-in-last-out.
|
| - base::FilePath shell_file_root(
|
| - base::android::ConvertJavaStringToUTF8(env, j_local_apps_directory));
|
| - Context* shell_context = new Context(shell_file_root);
|
| + Context* shell_context = new Context();
|
| + shell_context->SetShellFileRoot(base::FilePath(
|
| + base::android::ConvertJavaStringToUTF8(env, j_local_apps_directory)));
|
| g_context.Get().reset(shell_context);
|
|
|
| g_java_message_loop.Get().reset(new base::MessageLoopForUI);
|
|
|