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