| Index: content/browser/android/browser_surface_texture_manager.cc
|
| diff --git a/content/browser/android/browser_surface_texture_manager.cc b/content/browser/android/browser_surface_texture_manager.cc
|
| index 2311994db4492cd51bd6f51789a736199fd0538d..476ebf2ab027eb7eb755bf78355bc5869fb0347c 100644
|
| --- a/content/browser/android/browser_surface_texture_manager.cc
|
| +++ b/content/browser/android/browser_surface_texture_manager.cc
|
| @@ -59,26 +59,10 @@ BrowserSurfaceTextureManager::AcquireNativeWidgetForSurfaceTexture(
|
| return native_window;
|
| }
|
|
|
| -void BrowserSurfaceTextureManager::EstablishSurfaceTexturePeer(
|
| - base::ProcessHandle render_process_handle,
|
| - scoped_refptr<gfx::SurfaceTexture> surface_texture,
|
| - int render_frame_id,
|
| - int player_id) {
|
| - if (!surface_texture.get())
|
| - return;
|
| -
|
| - BrowserThread::PostTask(
|
| - BrowserThread::UI, FROM_HERE,
|
| - base::Bind(&BrowserMediaPlayerManager::SetSurfacePeer, surface_texture,
|
| - render_process_handle, render_frame_id, player_id));
|
| -}
|
| -
|
| BrowserSurfaceTextureManager::BrowserSurfaceTextureManager() {
|
| - SurfaceTexturePeer::InitInstance(this);
|
| }
|
|
|
| BrowserSurfaceTextureManager::~BrowserSurfaceTextureManager() {
|
| - SurfaceTexturePeer::InitInstance(nullptr);
|
| }
|
|
|
| } // namespace content
|
|
|