Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1331)

Unified Diff: shell/android/mojo_main.cc

Issue 868963002: Simplify resolution of mojo: URLs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Comments Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | shell/context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/mojo_main.cc
diff --git a/shell/android/mojo_main.cc b/shell/android/mojo_main.cc
index 9c8178b10073afbd692f3136ef93f17c8bbc9f3e..86ae823380e69b678576ffd051484875f25bec83 100644
--- a/shell/android/mojo_main.cc
+++ b/shell/android/mojo_main.cc
@@ -158,7 +158,7 @@ static void Init(JNIEnv* env,
// LazyInstances is akin to stack-allocating objects; their destructors
// will be invoked first-in-last-out.
Context* shell_context = new Context();
- shell_context->mojo_url_resolver()->SetLocalAppsPath(base::FilePath(
+ shell_context->SetShellFileRoot(base::FilePath(
base::android::ConvertJavaStringToUTF8(env, j_local_apps_directory)));
for (auto& args : parameters)
ApplyApplicationArgs(shell_context, args);
« no previous file with comments | « no previous file | shell/context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698