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

Unified Diff: ui/wm/core/image_grid.cc

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/wm/core/image_grid.h ('k') | ui/wm/core/image_grid_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/image_grid.cc
diff --git a/ui/wm/core/image_grid.cc b/ui/wm/core/image_grid.cc
index 82ca0e3af1ec6b39a3d4a14918235a350ab44d13..c4be0c36607b91222ce3f1633dacbf8a7c25b639 100644
--- a/ui/wm/core/image_grid.cc
+++ b/ui/wm/core/image_grid.cc
@@ -291,8 +291,8 @@ base::Closure ImageGrid::ImagePainter::PrepareForLayerBoundsChange() {
}
void ImageGrid::SetImage(const gfx::Image* image,
- scoped_ptr<ui::Layer>* layer_ptr,
- scoped_ptr<ImagePainter>* painter_ptr,
+ std::unique_ptr<ui::Layer>* layer_ptr,
+ std::unique_ptr<ImagePainter>* painter_ptr,
ImageType type) {
// Minimum width (for HORIZONTAL) or height (for VERTICAL) of the
// |image| so that layers are scaled property if the device scale
« no previous file with comments | « ui/wm/core/image_grid.h ('k') | ui/wm/core/image_grid_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698