diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 01:26:33 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-30 01:26:33 +0000 |
commit | 68957916094e7d2eabaccab37ca70da3aff44499 (patch) | |
tree | 744b90667b6a884291144adaba9e18fad694ed92 /mojo/examples/pepper_container_app | |
parent | 292b1692914b12c4427784a923de0d0615e57d2d (diff) | |
download | chromium_src-68957916094e7d2eabaccab37ca70da3aff44499.zip chromium_src-68957916094e7d2eabaccab37ca70da3aff44499.tar.gz chromium_src-68957916094e7d2eabaccab37ca70da3aff44499.tar.bz2 |
Remove CommandBuffer::GetState
https://codereview.chromium.org/220243003 removed the last client-side caller.
Service-side implementation of GetState is identical to GetLastState. So replace
all instances of GetState by GetLastState and remove the former.
BUG=None
Review URL: https://codereview.chromium.org/253943002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/pepper_container_app')
-rw-r--r-- | mojo/examples/pepper_container_app/graphics_3d_resource.cc | 5 | ||||
-rw-r--r-- | mojo/examples/pepper_container_app/graphics_3d_resource.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/mojo/examples/pepper_container_app/graphics_3d_resource.cc b/mojo/examples/pepper_container_app/graphics_3d_resource.cc index b41776f..2ad7dcd 100644 --- a/mojo/examples/pepper_container_app/graphics_3d_resource.cc +++ b/mojo/examples/pepper_container_app/graphics_3d_resource.cc @@ -86,11 +86,6 @@ PP_Bool Graphics3DResource::SetGetBuffer(int32_t shm_id) { return PP_FALSE; } -gpu::CommandBuffer::State Graphics3DResource::GetState() { - NOTIMPLEMENTED(); - return GetErrorState(); -} - scoped_refptr<gpu::Buffer> Graphics3DResource::CreateTransferBuffer( uint32_t size, int32* id) { diff --git a/mojo/examples/pepper_container_app/graphics_3d_resource.h b/mojo/examples/pepper_container_app/graphics_3d_resource.h index 9c5f256..5dba92c 100644 --- a/mojo/examples/pepper_container_app/graphics_3d_resource.h +++ b/mojo/examples/pepper_container_app/graphics_3d_resource.h @@ -35,7 +35,6 @@ class Graphics3DResource : public ppapi::Resource, scoped_refptr<ppapi::TrackedCallback> callback) OVERRIDE; virtual int32_t GetAttribMaxValue(int32_t attribute, int32_t* value) OVERRIDE; virtual PP_Bool SetGetBuffer(int32_t shm_id) OVERRIDE; - virtual gpu::CommandBuffer::State GetState() OVERRIDE; virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(uint32_t size, int32* id) OVERRIDE; virtual PP_Bool DestroyTransferBuffer(int32_t id) OVERRIDE; |