| Index: testing/android/native_test/native_test_launcher.cc
|
| diff --git a/testing/android/native_test/native_test_launcher.cc b/testing/android/native_test/native_test_launcher.cc
|
| index 52b419d02ba05343791a86911d4499328450337a..ae24e3ffcef9f1bf125726e55d45c91727b9a23f 100644
|
| --- a/testing/android/native_test/native_test_launcher.cc
|
| +++ b/testing/android/native_test/native_test_launcher.cc
|
| @@ -81,9 +81,7 @@ static void RunTests(JNIEnv* env,
|
| base::CommandLine::Init(arraysize(kInitialArgv), kInitialArgv);
|
|
|
| // Set the application context in base.
|
| - base::android::ScopedJavaLocalRef<jobject> scoped_context(
|
| - env, env->NewLocalRef(app_context));
|
| - base::android::InitApplicationContext(env, scoped_context);
|
| + base::android::InitApplicationContext(env, app_context);
|
| base::android::RegisterJni(env);
|
|
|
| std::vector<std::string> args;
|
|
|