| Index: content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
|
| index f72f344e5f74c51bf4b5392a72019ceb78081d93..f87f32b783491cf855dd1153839abbf54fbf099a 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
|
| @@ -7,6 +7,10 @@
|
|
|
| #include "content/common/gpu/client/gpu_memory_buffer_impl.h"
|
|
|
| +namespace ui {
|
| +class ClientNativePixmap;
|
| +}
|
| +
|
| namespace content {
|
|
|
| // Implementation of GPU memory buffer based on Ozone native pixmap.
|
| @@ -26,12 +30,16 @@ class GpuMemoryBufferImplOzoneNativePixmap : public GpuMemoryBufferImpl {
|
| gfx::GpuMemoryBufferHandle GetHandle() const override;
|
|
|
| private:
|
| - GpuMemoryBufferImplOzoneNativePixmap(gfx::GpuMemoryBufferId id,
|
| - const gfx::Size& size,
|
| - gfx::BufferFormat format,
|
| - const DestructionCallback& callback);
|
| + GpuMemoryBufferImplOzoneNativePixmap(
|
| + gfx::GpuMemoryBufferId id,
|
| + const gfx::Size& size,
|
| + gfx::BufferFormat format,
|
| + const DestructionCallback& callback,
|
| + scoped_ptr<ui::ClientNativePixmap> native_pixmap);
|
| ~GpuMemoryBufferImplOzoneNativePixmap() override;
|
|
|
| + scoped_ptr<ui::ClientNativePixmap> pixmap_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImplOzoneNativePixmap);
|
| };
|
|
|
|
|