Index: ui/gl/gl_surface_osmesa.h |
diff --git a/ui/gl/gl_surface_osmesa.h b/ui/gl/gl_surface_osmesa.h |
index d46a55c300ee8709914957339a5151d1144859a9..e4f6ba9481233c958edf57dc00ebc7aa6b154a85 100644 |
--- a/ui/gl/gl_surface_osmesa.h |
+++ b/ui/gl/gl_surface_osmesa.h |
@@ -7,8 +7,9 @@ |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "ui/gfx/geometry/size.h" |
#include "ui/gl/gl_surface.h" |
@@ -39,7 +40,7 @@ class GL_EXPORT GLSurfaceOSMesa : public GLSurface { |
private: |
gfx::Size size_; |
GLSurface::Format format_; |
- scoped_ptr<int32_t[]> buffer_; |
+ std::unique_ptr<int32_t[]> buffer_; |
DISALLOW_COPY_AND_ASSIGN(GLSurfaceOSMesa); |
}; |