| Index: content/app/android/content_main.cc
|
| diff --git a/content/app/android/content_main.cc b/content/app/android/content_main.cc
|
| index f322017bdbe84fec6eee9c7d3bd409982b6be467..13f20b653fefb03671974238f55eeae12b2d8e3b 100644
|
| --- a/content/app/android/content_main.cc
|
| +++ b/content/app/android/content_main.cc
|
| @@ -29,7 +29,8 @@ LazyInstance<scoped_ptr<ContentMainDelegate> > g_content_main_delegate =
|
| } // namespace
|
|
|
| static void InitApplicationContext(JNIEnv* env, jclass clazz, jobject context) {
|
| - base::android::ScopedJavaLocalRef<jobject> scoped_context(env, context);
|
| + base::android::ScopedJavaLocalRef<jobject> scoped_context(
|
| + env, env->NewLocalRef(context));
|
| base::android::InitApplicationContext(env, scoped_context);
|
| }
|
|
|
|
|