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

Unified Diff: mojo/runner/android/main.cc

Issue 1407233017: Define a Java-side global application context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo changes to ApplicationStatus Created 5 years, 1 month 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
Index: mojo/runner/android/main.cc
diff --git a/mojo/runner/android/main.cc b/mojo/runner/android/main.cc
index 3980c225cfaacaedc828804a762631855342af20..5e4710f8393f7f26374d758f8646b5396198e46e 100644
--- a/mojo/runner/android/main.cc
+++ b/mojo/runner/android/main.cc
@@ -112,8 +112,6 @@ static void Init(JNIEnv* env,
base::android::ConvertJavaStringToUTF8(env, j_tmp_dir).c_str(), 1);
DCHECK_EQ(return_value, 0);
- base::android::InitApplicationContext(env, activity);
-
std::vector<std::string> parameters;
parameters.push_back(
base::android::ConvertJavaStringToUTF8(env, mojo_shell_path));

Powered by Google App Engine
This is Rietveld 408576698