Index: components/web_contents_delegate_android/web_contents_delegate_android.cc |
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.cc b/components/web_contents_delegate_android/web_contents_delegate_android.cc |
index c85896bde4c56550b17eea059006c661bf63eaf2..bcb86924342e950e21f6ad4ef3413c881b0a313b 100644 |
--- a/components/web_contents_delegate_android/web_contents_delegate_android.cc |
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.cc |
@@ -328,13 +328,13 @@ void WebContentsDelegateAndroid::ShowRepostFormWarningDialog( |
void WebContentsDelegateAndroid::ToggleFullscreenModeForTab( |
WebContents* web_contents, |
- bool enter_fullscreen) { |
+ bool enter_fullscreen, bool is_video) { |
JNIEnv* env = AttachCurrentThread(); |
ScopedJavaLocalRef<jobject> obj = GetJavaDelegate(env); |
if (obj.is_null()) |
return; |
Java_WebContentsDelegateAndroid_toggleFullscreenModeForTab( |
- env, obj.obj(), enter_fullscreen); |
+ env, obj.obj(), enter_fullscreen, is_video); |
} |
bool WebContentsDelegateAndroid::IsFullscreenForTabOrPending( |