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

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

Issue 2525483005: Remove SurfaceTextureManager (Closed)
Patch Set: Created 4 years, 1 month 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/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 94a377c21a493da567bb27f156fe7812b72a6cda..5b00c74a4ee3c15ca040e15fbd9acc4487f6d56e 100644
--- a/content/browser/android/child_process_launcher_android.cc
+++ b/content/browser/android/child_process_launcher_android.cc
@@ -214,32 +214,6 @@ void CompleteScopedSurfaceRequest(JNIEnv* env,
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);

Powered by Google App Engine
This is Rietveld 408576698