| 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 11bb6de418411bb775f19cd236fc40cdb38d8548..94765fbeeba7d2b53a873bb5e222b944b244cdf2 100644
|
| --- a/content/browser/android/child_process_launcher_android.cc
|
| +++ b/content/browser/android/child_process_launcher_android.cc
|
| @@ -246,6 +246,13 @@ void UnregisterViewSurface(int surface_id) {
|
| Java_ChildProcessLauncher_unregisterViewSurface(env, surface_id);
|
| }
|
|
|
| +gfx::ScopedJavaSurface GetViewSurface(int surface_id) {
|
| + JNIEnv* env = AttachCurrentThread();
|
| + DCHECK(env);
|
| + return gfx::ScopedJavaSurface::AcquireExternalSurface(
|
| + Java_ChildProcessLauncher_getViewSurface(env, surface_id).obj());
|
| +}
|
| +
|
| void CreateSurfaceTextureSurface(int surface_texture_id,
|
| int client_id,
|
| gfx::SurfaceTexture* surface_texture) {
|
|
|