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

Unified Diff: mash/wm/frame/move_event_handler.h

Issue 1857623003: convert //mash to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mash/wm/frame/default_header_painter.h ('k') | mash/wm/frame/move_event_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/frame/move_event_handler.h
diff --git a/mash/wm/frame/move_event_handler.h b/mash/wm/frame/move_event_handler.h
index 65851eca7f5fc871cc1a5d33f01bfc7e75f36eb9..b14017cfa087189b63b2f68587daf1c003c11c96 100644
--- a/mash/wm/frame/move_event_handler.h
+++ b/mash/wm/frame/move_event_handler.h
@@ -5,8 +5,9 @@
#ifndef MASH_WM_FRAME_MOVE_EVENT_HANDLER_H_
#define MASH_WM_FRAME_MOVE_EVENT_HANDLER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/aura/window_observer.h"
#include "ui/events/event_handler.h"
@@ -51,7 +52,7 @@ class MoveEventHandler : public ui::EventHandler, public aura::WindowObserver {
mus::Window* mus_window_;
aura::Window* aura_window_;
aura::Window* root_window_;
- scoped_ptr<MoveLoop> move_loop_;
+ std::unique_ptr<MoveLoop> move_loop_;
DISALLOW_COPY_AND_ASSIGN(MoveEventHandler);
};
« no previous file with comments | « mash/wm/frame/default_header_painter.h ('k') | mash/wm/frame/move_event_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698