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

Unified Diff: ash/wm/drag_window_controller.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 | « ash/wm/drag_details.h ('k') | ash/wm/drag_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/drag_window_controller.h
diff --git a/ash/wm/drag_window_controller.h b/ash/wm/drag_window_controller.h
index 9bcf3ff417df894688cf13fa657d8e2dc870bf11..87454e3b0b1c50b1a4a64b21fd6cd9ccf35e448b 100644
--- a/ash/wm/drag_window_controller.h
+++ b/ash/wm/drag_window_controller.h
@@ -5,12 +5,12 @@
#ifndef ASH_WM_DRAG_WINDOW_CONTROLLER_H_
#define ASH_WM_DRAG_WINDOW_CONTROLLER_H_
+#include <memory>
#include <vector>
#include "ash/ash_export.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/gfx/display.h"
#include "ui/gfx/geometry/rect.h"
@@ -56,7 +56,7 @@ class ASH_EXPORT DragWindowController {
// Window the drag window is placed beneath.
aura::Window* window_;
- std::vector<scoped_ptr<DragWindowDetails>> drag_windows_;
+ std::vector<std::unique_ptr<DragWindowDetails>> drag_windows_;
DISALLOW_COPY_AND_ASSIGN(DragWindowController);
};
« no previous file with comments | « ash/wm/drag_details.h ('k') | ash/wm/drag_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698