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

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

Issue 231933006: Move ExternalVideoSurfaceHolder from WebContents UserData to BrowserMediaPlayerManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 8606d5cd47712beb0675f21298f964e653eb0415..765af71984dde40c4f893b2163c9850359433b1d 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -38,7 +38,6 @@
#include "content/common/input/web_input_event_traits.h"
#include "content/common/input_messages.h"
#include "content/common/view_messages.h"
-#include "content/public/browser/android/external_video_surface_container.h"
#include "content/public/browser/browser_accessibility_state.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/favicon_status.h"
@@ -489,12 +488,6 @@ void ContentViewCoreImpl::UpdateFrameInfo(
controls_offset.y(),
content_offset.y(),
overdraw_bottom_height);
-#if defined(VIDEO_HOLE)
- ExternalVideoSurfaceContainer* surface_container =
- ExternalVideoSurfaceContainer::FromWebContents(web_contents_);
- if (surface_container)
- surface_container->OnFrameInfoUpdated();
-#endif // defined(VIDEO_HOLE)
}
void ContentViewCoreImpl::SetTitle(const base::string16& title) {

Powered by Google App Engine
This is Rietveld 408576698