| Index: content/public/android/java/src/org/chromium/content/app/ChildProcessService.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java b/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java
|
| index 769249ed095bc6568d765df6237b0e1407bba312..f5f3a819caca3ce09afbe111b78f0dc9323669fc 100644
|
| --- a/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java
|
| +++ b/content/public/android/java/src/org/chromium/content/app/ChildProcessService.java
|
| @@ -285,6 +285,22 @@ public class ChildProcessService extends Service {
|
| }
|
| }
|
|
|
| + @SuppressWarnings("unused")
|
| + @CalledByNative
|
| + private Surface getSurfaceTextureSurface(int surfaceTextureId) {
|
| + if (mCallback == null) {
|
| + Log.e(TAG, "No callback interface has been provided.");
|
| + return null;
|
| + }
|
| +
|
| + try {
|
| + return mCallback.getSurfaceTextureSurface(surfaceTextureId);
|
| + } catch (RemoteException e) {
|
| + Log.e(TAG, "Unable to call getSurfaceTextureSurface: " + e);
|
| + return null;
|
| + }
|
| + }
|
| +
|
| /**
|
| * The main entry point for a child process. This should be called from a new thread since
|
| * it will not return until the child process exits. See child_process_service.{h,cc}
|
|
|