summaryrefslogtreecommitdiffstats
path: root/testing/android/native_test_launcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/android/native_test_launcher.cc')
-rw-r--r--testing/android/native_test_launcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/android/native_test_launcher.cc b/testing/android/native_test_launcher.cc
index 300efc9..50b213e 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;