Index: mojo/android/javatests/mojo_test_case.cc |
diff --git a/mojo/android/javatests/mojo_test_case.cc b/mojo/android/javatests/mojo_test_case.cc |
index 1297a04b4c129e8f3cf35e7f7f0a792186cb87b7..f958d7c0d72b5868f8aff0d5b6cf330e37e8be68 100644 |
--- a/mojo/android/javatests/mojo_test_case.cc |
+++ b/mojo/android/javatests/mojo_test_case.cc |
@@ -33,8 +33,7 @@ namespace android { |
static void InitApplicationContext(JNIEnv* env, |
const JavaParamRef<jobject>& jcaller, |
const JavaParamRef<jobject>& context) { |
- base::android::ScopedJavaLocalRef<jobject> scoped_context(env, context); |
- base::android::InitApplicationContext(env, scoped_context); |
+ base::android::InitApplicationContext(env, context); |
base::InitAndroidTestMessageLoop(); |
} |