| 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);
|
|
|