| 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 63178244a52aedf9ce08eb8179876f97eb4016df..64b24927b91a4249e58434a7c66ba10d8b47e852 100644
|
| --- a/content/browser/android/browser_surface_texture_manager.cc
|
| +++ b/content/browser/android/browser_surface_texture_manager.cc
|
| @@ -38,6 +38,27 @@ void BrowserSurfaceTextureManager::UnregisterSurfaceTexture(
|
| content::DestroySurfaceTextureSurface(surface_texture_id, client_id);
|
| }
|
|
|
| +void BrowserSurfaceTextureManager::RegisterBrowserSurfaceTexture(
|
| + int surface_texture_id,
|
| + gl::SurfaceTexture* stream_texture_surface) {
|
| + // The browser shouldn't register SurfaceTextures for its own use.
|
| + // The GPU process can register SurfaceTextures for the browser's use instead.
|
| + // See ChildProcessServices::RegisterBrowserSurfaceTexture().
|
| + NOTREACHED();
|
| +};
|
| +
|
| +void BrowserSurfaceTextureManager::UnregisterBrowserSurfaceTexture(
|
| + int stream_texture_id) {
|
| + // The GPU process is responsible for unregistering any SurfaceTextures it
|
| + // registered.
|
| + NOTREACHED();
|
| +};
|
| +
|
| +gl::ScopedJavaSurface BrowserSurfaceTextureManager::GetBrowserSurfaceTexture(
|
| + int stream_texture_id) {
|
| + return content::GetBrowserSurfaceTextureSurface(stream_texture_id);
|
| +};
|
| +
|
| gfx::AcceleratedWidget
|
| BrowserSurfaceTextureManager::AcquireNativeWidgetForSurfaceTexture(
|
| int surface_texture_id) {
|
|
|