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

Unified Diff: ui/ozone/platform/caca/scoped_caca_types.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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
Index: ui/ozone/platform/caca/scoped_caca_types.h
diff --git a/ui/ozone/platform/caca/scoped_caca_types.h b/ui/ozone/platform/caca/scoped_caca_types.h
index d7894760ad777188fe69a87ef5cbd3cd81ed97ed..4b00c5525e666a5220657c33f69774a7598e566b 100644
--- a/ui/ozone/platform/caca/scoped_caca_types.h
+++ b/ui/ozone/platform/caca/scoped_caca_types.h
@@ -5,7 +5,6 @@
#ifndef UI_OZONE_PLATFORM_CACA_SCOPED_CACA_TYPES_H_
#define UI_OZONE_PLATFORM_CACA_SCOPED_CACA_TYPES_H_
-#include "base/memory/scoped_ptr.h"
typedef struct caca_canvas caca_canvas_t;
typedef struct caca_dither caca_dither_t;
@@ -25,9 +24,9 @@ struct CacaDitherDeleter {
void operator()(caca_dither_t* dither) const;
};
-typedef scoped_ptr<caca_canvas_t, CacaCanvasDeleter> ScopedCacaCanvas;
-typedef scoped_ptr<caca_display_t, CacaDisplayDeleter> ScopedCacaDisplay;
-typedef scoped_ptr<caca_dither_t, CacaDitherDeleter> ScopedCacaDither;
+typedef std::unique_ptr<caca_canvas_t, CacaCanvasDeleter> ScopedCacaCanvas;
+typedef std::unique_ptr<caca_display_t, CacaDisplayDeleter> ScopedCacaDisplay;
+typedef std::unique_ptr<caca_dither_t, CacaDitherDeleter> ScopedCacaDither;
} // namespace ui
« no previous file with comments | « ui/ozone/platform/caca/ozone_platform_caca.cc ('k') | ui/ozone/platform/cast/client_native_pixmap_factory_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698