Index: gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h |
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h b/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h |
index 1102274eafb7b2f51a79c47eab255c88ed3d7e0b..3a5a343a124cf25a0c88c18951097cc284eec570 100644 |
--- a/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h |
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_io_surface.h |
@@ -9,6 +9,8 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/mac/scoped_cftyperef.h" |
#include "base/macros.h" |
#include "gpu/gpu_export.h" |
@@ -21,7 +23,7 @@ class GPU_EXPORT GpuMemoryBufferImplIOSurface : public GpuMemoryBufferImpl { |
public: |
~GpuMemoryBufferImplIOSurface() override; |
- static scoped_ptr<GpuMemoryBufferImplIOSurface> CreateFromHandle( |
+ static std::unique_ptr<GpuMemoryBufferImplIOSurface> CreateFromHandle( |
const gfx::GpuMemoryBufferHandle& handle, |
const gfx::Size& size, |
gfx::BufferFormat format, |