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

Unified Diff: ui/base/nine_image_painter_factory.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
« no previous file with comments | « ui/base/models/tree_node_model_unittest.cc ('k') | ui/base/nine_image_painter_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/nine_image_painter_factory.h
diff --git a/ui/base/nine_image_painter_factory.h b/ui/base/nine_image_painter_factory.h
index 5978c0f113433c41ef4dbfb7e6342452ece558b3..af4b13c3dbb419984e2d69f81be2215c0f725b5e 100644
--- a/ui/base/nine_image_painter_factory.h
+++ b/ui/base/nine_image_painter_factory.h
@@ -5,7 +5,8 @@
#ifndef UI_BASE_NINE_IMAGE_PAINTER_FACTORY_H_
#define UI_BASE_NINE_IMAGE_PAINTER_FACTORY_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/base/ui_base_export.h"
// A macro to define arrays of IDR constants used with CreateImageGridPainter.
@@ -43,7 +44,7 @@ namespace ui {
// Creates a NineImagePainter from an array of image ids. It's expected the
// array came from the IMAGE_GRID macro.
-UI_BASE_EXPORT scoped_ptr<gfx::NineImagePainter> CreateNineImagePainter(
+UI_BASE_EXPORT std::unique_ptr<gfx::NineImagePainter> CreateNineImagePainter(
const int image_ids[]);
} // namespace ui
« no previous file with comments | « ui/base/models/tree_node_model_unittest.cc ('k') | ui/base/nine_image_painter_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698