Index: content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java |
diff --git a/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java b/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java |
index b08ca5ee2899d481871953046b8bd64267bfcf04..a3748f887a180d33217a4ef3340bec312b5e4edd 100644 |
--- a/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java |
+++ b/content/public/android/java/src/org/chromium/content/app/ChildProcessServiceImpl.java |
@@ -407,55 +407,6 @@ public class ChildProcessServiceImpl { |
} |
} |
- @SuppressWarnings("unused") |
- @CalledByNative |
- private void createSurfaceTextureSurface( |
- int surfaceTextureId, int clientId, SurfaceTexture surfaceTexture) { |
- if (mCallback == null) { |
- Log.e(TAG, "No callback interface has been provided."); |
- return; |
- } |
- |
- Surface surface = new Surface(surfaceTexture); |
- try { |
- mCallback.registerSurfaceTextureSurface(surfaceTextureId, clientId, surface); |
- } catch (RemoteException e) { |
- Log.e(TAG, "Unable to call registerSurfaceTextureSurface: %s", e); |
- } |
- surface.release(); |
- } |
- |
- @SuppressWarnings("unused") |
- @CalledByNative |
- private void destroySurfaceTextureSurface(int surfaceTextureId, int clientId) { |
- if (mCallback == null) { |
- Log.e(TAG, "No callback interface has been provided."); |
- return; |
- } |
- |
- try { |
- mCallback.unregisterSurfaceTextureSurface(surfaceTextureId, clientId); |
- } catch (RemoteException e) { |
- Log.e(TAG, "Unable to call unregisterSurfaceTextureSurface: %s", e); |
- } |
- } |
- |
- @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).getSurface(); |
- } catch (RemoteException e) { |
- Log.e(TAG, "Unable to call getSurfaceTextureSurface: %s", e); |
- return null; |
- } |
- } |
- |
/** |
* Helper for registering FileDescriptorInfo objects with GlobalFileDescriptors. |
* This includes the IPC channel, the crash dump signals and resource related |