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

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

Issue 2525483005: Remove SurfaceTextureManager (Closed)
Patch Set: Fix link error Created 4 years 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
« no previous file with comments | « content/browser/android/child_process_launcher_android.h ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/child_process_launcher_android.cc
diff --git a/content/browser/android/child_process_launcher_android.cc b/content/browser/android/child_process_launcher_android.cc
index c93f049fea0f038322f6873252f78bd37d2bcaf3..77b45d526ebf263acd959f105d372bcadb319ed4 100644
--- a/content/browser/android/child_process_launcher_android.cc
+++ b/content/browser/android/child_process_launcher_android.cc
@@ -215,32 +215,6 @@ void CompleteScopedSurfaceRequest(JNIEnv* env,
requestToken, gl::ScopedJavaSurface(jsurface));
}
-void CreateSurfaceTextureSurface(int surface_texture_id,
- int client_id,
- gl::SurfaceTexture* surface_texture) {
- JNIEnv* env = AttachCurrentThread();
- DCHECK(env);
- Java_ChildProcessLauncher_createSurfaceTextureSurface(
- env, surface_texture_id, client_id, surface_texture->j_surface_texture());
-}
-
-void DestroySurfaceTextureSurface(int surface_texture_id, int client_id) {
- JNIEnv* env = AttachCurrentThread();
- DCHECK(env);
- Java_ChildProcessLauncher_destroySurfaceTextureSurface(
- env, surface_texture_id, client_id);
-}
-
-gl::ScopedJavaSurface GetSurfaceTextureSurface(int surface_texture_id,
- int client_id) {
- JNIEnv* env = AttachCurrentThread();
- DCHECK(env);
- return gl::ScopedJavaSurface::AcquireExternalSurface(
- Java_ChildProcessLauncher_getSurfaceTextureSurface(
- env, surface_texture_id, client_id)
- .obj());
-}
-
jboolean IsSingleProcess(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kSingleProcess);
« no previous file with comments | « content/browser/android/child_process_launcher_android.h ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698