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

Unified Diff: ui/views/widget/window_reorderer.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/views/widget/widget_unittest.cc ('k') | ui/views/widget/window_reorderer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/window_reorderer.h
diff --git a/ui/views/widget/window_reorderer.h b/ui/views/widget/window_reorderer.h
index 7b9db7ccad452a62fd275bb698035b4a88a662ac..1d8d253e80f086e53311ed7c1eced0bcac2f819f 100644
--- a/ui/views/widget/window_reorderer.h
+++ b/ui/views/widget/window_reorderer.h
@@ -5,9 +5,10 @@
#ifndef UI_VIEWS_WIDGET_WINDOW_REORDERER_H_
#define UI_VIEWS_WIDGET_WINDOW_REORDERER_H_
+#include <memory>
+
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/aura/window_observer.h"
namespace aura {
@@ -50,7 +51,7 @@ class WindowReorderer : public aura::WindowObserver {
// Reorders windows as a result of the kHostViewKey being set on a child of
// |parent_window_|.
class AssociationObserver;
- scoped_ptr<AssociationObserver> association_observer_;
+ std::unique_ptr<AssociationObserver> association_observer_;
DISALLOW_COPY_AND_ASSIGN(WindowReorderer);
};
« no previous file with comments | « ui/views/widget/widget_unittest.cc ('k') | ui/views/widget/window_reorderer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698