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 e76e31737d0fecefcfe7558069157dd71c2785aa..022c320e83c2b11398f9c7e1087748e2329b0b42 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 |
@@ -31,6 +31,7 @@ class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl { |
const DestructionCallback& callback); |
static bool IsFormatSupported(Format format); |
+ static bool IsSizeValidForFormat(const gfx::Size& size, Format format); |
// Overridden from gfx::GpuMemoryBuffer: |
void* Map() override; |