Index: chromecast/browser/android/cast_window_manager.cc |
diff --git a/chromecast/browser/android/cast_window_manager.cc b/chromecast/browser/android/cast_window_manager.cc |
index c4e2f1274eaf582c7b61d2bf4e5771bb192f56eb..7a0c51f609d05243d98455e67320fb586a485c1b 100644 |
--- a/chromecast/browser/android/cast_window_manager.cc |
+++ b/chromecast/browser/android/cast_window_manager.cc |
@@ -55,8 +55,7 @@ bool RegisterCastWindowManager(JNIEnv* env) { |
void Init(JNIEnv* env, |
const JavaParamRef<jclass>& clazz, |
const JavaParamRef<jobject>& obj) { |
- g_window_manager.Get().Reset( |
- base::android::ScopedJavaLocalRef<jobject>(env, obj)); |
+ g_window_manager.Get().Reset(obj); |
} |
jlong LaunchCastWindow(JNIEnv* env, |