Index: content/shell/android/shell_manager.cc |
diff --git a/content/shell/android/shell_manager.cc b/content/shell/android/shell_manager.cc |
index eb9e6368e601c2fffb3eed5ab15430c3f44c1ac7..f7cfd63b49fa75f1e6f1165e3a502040e88b03bd 100644 |
--- a/content/shell/android/shell_manager.cc |
+++ b/content/shell/android/shell_manager.cc |
@@ -52,8 +52,7 @@ bool RegisterShellManager(JNIEnv* env) { |
static void Init(JNIEnv* env, |
const JavaParamRef<jclass>& clazz, |
const JavaParamRef<jobject>& obj) { |
- g_global_state.Get().j_shell_manager.Reset( |
- base::android::ScopedJavaLocalRef<jobject>(env, obj)); |
+ g_global_state.Get().j_shell_manager.Reset(obj); |
} |
void LaunchShell(JNIEnv* env, |