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

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

Issue 1867873002: Move unittests in content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 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/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

Powered by Google App Engine
This is Rietveld 408576698