diff options
author | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 04:23:28 +0000 |
---|---|---|
committer | sievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 04:23:28 +0000 |
commit | 1d01807e2f36c8700d2b81f10ddfb0acbde2873c (patch) | |
tree | b6ab8d3e54e267426ec87d16cd83c9daf663eb2b /content/app/android | |
parent | f8bebfb177f7c99e858c56208db69e8f48ed63ad (diff) | |
download | chromium_src-1d01807e2f36c8700d2b81f10ddfb0acbde2873c.zip chromium_src-1d01807e2f36c8700d2b81f10ddfb0acbde2873c.tar.gz chromium_src-1d01807e2f36c8700d2b81f10ddfb0acbde2873c.tar.bz2 |
Android: Remove Surface cruft
This removes unused Surface-related Java-level IPC plumbing.
What is not needed anymore is the code to pass Surfaces to child
processes. This was only used in a deprecated render path and for
MediaPlayer being instantiated in the renderer (which is not supported
anymore, it lives in the browser process now).
Review URL: https://chromiumcodereview.appspot.com/12388038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/app/android')
-rw-r--r-- | content/app/android/sandboxed_process_service.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content/app/android/sandboxed_process_service.cc b/content/app/android/sandboxed_process_service.cc index 6316ab8..e7118ff 100644 --- a/content/app/android/sandboxed_process_service.cc +++ b/content/app/android/sandboxed_process_service.cc @@ -36,13 +36,12 @@ class SurfaceTexturePeerSandboxedImpl : public content::SurfaceTexturePeer { virtual void EstablishSurfaceTexturePeer( base::ProcessHandle pid, - SurfaceTextureTarget type, scoped_refptr<content::SurfaceTextureBridge> surface_texture_bridge, int primary_id, int secondary_id) { JNIEnv* env = base::android::AttachCurrentThread(); content::Java_SandboxedProcessService_establishSurfaceTexturePeer( - env, service_, pid, type, + env, service_, pid, surface_texture_bridge->j_surface_texture().obj(), primary_id, secondary_id); CheckException(env); |