Index: gpu/command_buffer/service/transfer_buffer_manager.h |
diff --git a/gpu/command_buffer/service/transfer_buffer_manager.h b/gpu/command_buffer/service/transfer_buffer_manager.h |
index b96cad4cf8ed5eb967090f1eb308b7a62d919776..5f8f94679111cd9b2219cdc9546dfdd9c70c5b61 100644 |
--- a/gpu/command_buffer/service/transfer_buffer_manager.h |
+++ b/gpu/command_buffer/service/transfer_buffer_manager.h |
@@ -20,9 +20,10 @@ class GPU_EXPORT TransferBufferManagerInterface { |
public: |
virtual ~TransferBufferManagerInterface(); |
- virtual bool RegisterTransferBuffer(int32 id, |
- base::SharedMemory* shared_memory, |
- size_t size) = 0; |
+ virtual bool RegisterTransferBuffer( |
+ int32 id, |
+ scoped_ptr<base::SharedMemory> shared_memory, |
+ size_t size) = 0; |
virtual void DestroyTransferBuffer(int32 id) = 0; |
virtual scoped_refptr<Buffer> GetTransferBuffer(int32 id) = 0; |
}; |
@@ -33,9 +34,10 @@ class GPU_EXPORT TransferBufferManager |
TransferBufferManager(); |
bool Initialize(); |
- virtual bool RegisterTransferBuffer(int32 id, |
- base::SharedMemory* shared_memory, |
- size_t size) OVERRIDE; |
+ virtual bool RegisterTransferBuffer( |
+ int32 id, |
+ scoped_ptr<base::SharedMemory> shared_memory, |
+ size_t size) OVERRIDE; |
virtual void DestroyTransferBuffer(int32 id) OVERRIDE; |
virtual scoped_refptr<Buffer> GetTransferBuffer(int32 id) OVERRIDE; |