Index: content/app/android/content_main.cc |
diff --git a/content/app/android/content_main.cc b/content/app/android/content_main.cc |
index 986474fb2a236493c125ce9df34aa7444d50ac7a..74f6783d276d091a2200775a1a3cc8a37d4eb19c 100644 |
--- a/content/app/android/content_main.cc |
+++ b/content/app/android/content_main.cc |
@@ -31,9 +31,7 @@ LazyInstance<scoped_ptr<ContentMainDelegate> > g_content_main_delegate = |
static void InitApplicationContext(JNIEnv* env, |
const JavaParamRef<jclass>& clazz, |
const JavaParamRef<jobject>& context) { |
- base::android::ScopedJavaLocalRef<jobject> scoped_context( |
- env, env->NewLocalRef(context)); |
- base::android::InitApplicationContext(env, scoped_context); |
+ base::android::InitApplicationContext(env, context); |
} |
static jint Start(JNIEnv* env, const JavaParamRef<jclass>& clazz) { |