Index: components/cronet/android/cronet_library_loader.cc |
diff --git a/components/cronet/android/cronet_library_loader.cc b/components/cronet/android/cronet_library_loader.cc |
index aff1ffc4cf7c76260934b74e7dd6510fd504f57b..520f62df7c8e21baf7e098f7bed3c9b093887d92 100644 |
--- a/components/cronet/android/cronet_library_loader.cc |
+++ b/components/cronet/android/cronet_library_loader.cc |
@@ -90,9 +90,7 @@ void CronetInitApplicationContext(JNIEnv* env, |
const JavaParamRef<jclass>& jcaller, |
const JavaParamRef<jobject>& japp_context) { |
// Set application context. |
- base::android::ScopedJavaLocalRef<jobject> scoped_app_context(env, |
- japp_context); |
- base::android::InitApplicationContext(env, scoped_app_context); |
+ base::android::InitApplicationContext(env, japp_context); |
} |
void CronetInitOnMainThread(JNIEnv* env, const JavaParamRef<jclass>& jcaller) { |