Index: mojo/examples/pepper_container_app/graphics_3d_resource.h |
diff --git a/mojo/examples/pepper_container_app/graphics_3d_resource.h b/mojo/examples/pepper_container_app/graphics_3d_resource.h |
index 68d70e4d78f49827005cd17e76fe05faa76dadcc..9c5f256c44e46c09b99dd94f502d488836efe19a 100644 |
--- a/mojo/examples/pepper_container_app/graphics_3d_resource.h |
+++ b/mojo/examples/pepper_container_app/graphics_3d_resource.h |
@@ -36,11 +36,9 @@ class Graphics3DResource : public ppapi::Resource, |
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 int32_t CreateTransferBuffer(uint32_t size) OVERRIDE; |
+ virtual scoped_refptr<gpu::Buffer> CreateTransferBuffer(uint32_t size, |
+ int32* id) OVERRIDE; |
virtual PP_Bool DestroyTransferBuffer(int32_t id) OVERRIDE; |
- virtual PP_Bool GetTransferBuffer(int32_t id, |
- int* shm_handle, |
- uint32_t* shm_size) OVERRIDE; |
virtual PP_Bool Flush(int32_t put_offset) OVERRIDE; |
virtual gpu::CommandBuffer::State WaitForTokenInRange(int32_t start, |
int32_t end) OVERRIDE; |