Index: ui/gl/gl_context_cgl.h |
diff --git a/ui/gl/gl_context_cgl.h b/ui/gl/gl_context_cgl.h |
index 1a1016268f3294979bc725c2474f23b21fafe0df..2bef70bf1381f351c93bac8dc56b70618d713316 100644 |
--- a/ui/gl/gl_context_cgl.h |
+++ b/ui/gl/gl_context_cgl.h |
@@ -7,8 +7,9 @@ |
#include <OpenGL/CGLTypes.h> |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "ui/gl/gl_context.h" |
namespace gfx { |
@@ -41,7 +42,7 @@ class GLContextCGL : public GLContextReal { |
void* context_; |
GpuPreference gpu_preference_; |
- scoped_ptr<gl::YUVToRGBConverter> yuv_to_rgb_converter_; |
+ std::unique_ptr<gl::YUVToRGBConverter> yuv_to_rgb_converter_; |
CGLPixelFormatObj discrete_pixelformat_; |