Index: mojo/runner/android/main.cc |
diff --git a/mojo/runner/android/main.cc b/mojo/runner/android/main.cc |
index b5717cca784c63495f2e58aa454a2378a6b21ba4..2b4de3f70fa9820849c2739473135d2f9f40c242 100644 |
--- a/mojo/runner/android/main.cc |
+++ b/mojo/runner/android/main.cc |
@@ -114,8 +114,7 @@ static void Init(JNIEnv* env, |
base::android::ConvertJavaStringToUTF8(env, j_tmp_dir).c_str(), 1); |
DCHECK_EQ(return_value, 0); |
- base::android::ScopedJavaLocalRef<jobject> scoped_activity(env, activity); |
- base::android::InitApplicationContext(env, scoped_activity); |
+ base::android::InitApplicationContext(env, activity); |
std::vector<std::string> parameters; |
parameters.push_back( |