| 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 d3e8ee589ef18186b95e8061c41e73e07cb11a59..266991193e866b0fbaca3d8103dcf825e6014593 100644
|
| --- a/content/browser/android/child_process_launcher_android.cc
|
| +++ b/content/browser/android/child_process_launcher_android.cc
|
| @@ -281,6 +281,15 @@ gl::ScopedJavaSurface GetSurfaceTextureSurface(int surface_texture_id,
|
| .obj());
|
| }
|
|
|
| +gl::ScopedJavaSurface GetBrowserSurfaceTextureSurface(int surface_texture_id) {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + DCHECK(env);
|
| + return gl::ScopedJavaSurface::AcquireExternalSurface(
|
| + Java_ChildProcessLauncher_getBrowserSurfaceTextureSurface(
|
| + env, surface_texture_id)
|
| + .obj());
|
| +}
|
| +
|
| jboolean IsSingleProcess(JNIEnv* env, const JavaParamRef<jclass>& clazz) {
|
| return base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kSingleProcess);
|
|
|