Index: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h |
index ab4cc56a184b47d1899e3f588f9420d2b5437ec0..53937cadcf81ba8bd42eb59668b6c54cc671d9a7 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h |
@@ -16,6 +16,11 @@ class GpuMemoryBufferImplOzoneNativeBuffer : public GpuMemoryBufferImpl { |
unsigned internalformat); |
virtual ~GpuMemoryBufferImplOzoneNativeBuffer(); |
+ static void Create(const gfx::Size& size, |
+ unsigned internalformat, |
+ unsigned usage, |
+ const CreationCallback& callback); |
+ |
// Allocates an Ozone native buffer backed GPU memory buffer with |size| and |
// |internalformat| with usage |usage| for use by |child_id|. |
static void AllocateOzoneNativeBufferForChildId( |