Index: testing/android/native_test_launcher.cc |
diff --git a/testing/android/native_test_launcher.cc b/testing/android/native_test_launcher.cc |
index 300efc9f74d28fc89047c2812a50504d8600e37f..50b213ed3d77733c570bc2089329b034b1d975d4 100644 |
--- a/testing/android/native_test_launcher.cc |
+++ b/testing/android/native_test_launcher.cc |
@@ -128,7 +128,7 @@ static void RunTests(JNIEnv* env, |
// Set the application context in base. |
base::android::ScopedJavaLocalRef<jobject> scoped_context( |
env, env->NewLocalRef(app_context)); |
- base::android::InitApplicationContext(scoped_context); |
+ base::android::InitApplicationContext(env, scoped_context); |
base::android::RegisterJni(env); |
std::vector<std::string> args; |