Index: gpu/command_buffer/client/gpu_memory_buffer_manager.h |
diff --git a/gpu/command_buffer/client/gpu_memory_buffer_manager.h b/gpu/command_buffer/client/gpu_memory_buffer_manager.h |
index 3b7ed20795df591aa42262fbe2a47abccf200e44..7fb14af17a1b6392af3da9e6ddd66f0a18c18218 100644 |
--- a/gpu/command_buffer/client/gpu_memory_buffer_manager.h |
+++ b/gpu/command_buffer/client/gpu_memory_buffer_manager.h |
@@ -19,6 +19,7 @@ struct SyncToken; |
class GPU_EXPORT GpuMemoryBufferManager { |
public: |
GpuMemoryBufferManager(); |
+ virtual ~GpuMemoryBufferManager(); |
// Creates a GpuMemoryBuffer that can be shared with another process. |
virtual std::unique_ptr<gfx::GpuMemoryBuffer> CreateGpuMemoryBuffer( |
@@ -36,9 +37,6 @@ class GPU_EXPORT GpuMemoryBufferManager { |
// Associates destruction sync point with |buffer|. |
virtual void SetDestructionSyncToken(gfx::GpuMemoryBuffer* buffer, |
const gpu::SyncToken& sync_token) = 0; |
- |
- protected: |
- virtual ~GpuMemoryBufferManager(); |
}; |
} // namespace gpu |