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