Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: ui/gl/gl_context_cgl.h

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/android/window_android_compositor.h ('k') | ui/message_center/cocoa/popup_collection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « ui/android/window_android_compositor.h ('k') | ui/message_center/cocoa/popup_collection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698