| 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 d89cce140e7aab74fb08fec4bc769e02242c26f0..a3e1c1bd525b7325dcec945597b5eda8e2ed56d0 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
|
| @@ -247,6 +247,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}
|
|
|