Index: content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
index 90c649e29ddfa68810b49da2d7d4aa515c07a37e..ce526a6be234a17a0113ded4fb0d00f6f14a3624 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
@@ -24,12 +24,6 @@ class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl { |
Format format, |
base::ProcessHandle child_process); |
- // Calculates the number of bytes used to store all the planes of a given |
- // |format|. |
- static bool BufferSizeInBytes(const gfx::Size& size, |
- Format format, |
- size_t* size_in_bytes); |
- |
static scoped_ptr<GpuMemoryBufferImpl> CreateFromHandle( |
const gfx::GpuMemoryBufferHandle& handle, |
const gfx::Size& size, |