| Index: content/browser/android/content_video_view.cc
|
| diff --git a/content/browser/android/content_video_view.cc b/content/browser/android/content_video_view.cc
|
| index ef5369e80e4a01426d3a4147afe5e9783dd6e811..2a5ce048b55ae8bc045d361cf7687b3f780228d4 100644
|
| --- a/content/browser/android/content_video_view.cc
|
| +++ b/content/browser/android/content_video_view.cc
|
| @@ -31,12 +31,11 @@
|
|
|
| } // namespace
|
|
|
| -static ScopedJavaLocalRef<jobject> GetSingletonJavaContentVideoView(JNIEnv* env,
|
| - jclass) {
|
| +static jobject GetSingletonJavaContentVideoView(JNIEnv*env, jclass) {
|
| if (g_content_video_view)
|
| - return g_content_video_view->GetJavaObject(env);
|
| + return g_content_video_view->GetJavaObject(env).Release();
|
| else
|
| - return ScopedJavaLocalRef<jobject>();
|
| + return NULL;
|
| }
|
|
|
| bool ContentVideoView::RegisterContentVideoView(JNIEnv* env) {
|
|
|