Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(655)

Unified Diff: content/browser/android/content_video_view.cc

Issue 618013003: Support fullscreen for non-video elements in the WebView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactorFullscreenNonMedia
Patch Set: Fix failing test Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 901afd4e1f8a6a6ac6d2e703c935a335900456b1..69640562b69e21e71899afa7bd8415ffe9cb1d1b 100644
--- a/content/browser/android/content_video_view.cc
+++ b/content/browser/android/content_video_view.cc
@@ -253,9 +253,8 @@ JavaObjectWeakGlobalRef ContentVideoView::CreateJavaObject() {
env,
Java_ContentVideoView_createContentVideoView(
env,
- content_view_core->GetContext().obj(),
- reinterpret_cast<intptr_t>(this),
- content_view_core->GetContentVideoViewClient().obj()).obj());
+ content_view_core->GetJavaObject().obj(),
+ reinterpret_cast<intptr_t>(this)).obj());
}
void ContentVideoView::CreatePowerSaveBlocker() {

Powered by Google App Engine
This is Rietveld 408576698