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

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

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/move_event_handler.h ('k') | mash/wm/frame/move_loop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/frame/move_event_handler.cc
diff --git a/mash/wm/frame/move_event_handler.cc b/mash/wm/frame/move_event_handler.cc
index 10ab376d4069f8406db815cb3304852128d89ccd..c7165bad7334178c995aed31e38e09de56e0ec15 100644
--- a/mash/wm/frame/move_event_handler.cc
+++ b/mash/wm/frame/move_event_handler.cc
@@ -66,7 +66,7 @@ void MoveEventHandler::ProcessLocatedEvent(ui::LocatedEvent* event) {
// TODO(moshayedi): no need for this once MoveEventHandler directly receives
// pointer events.
- scoped_ptr<ui::PointerEvent> pointer_event;
+ std::unique_ptr<ui::PointerEvent> pointer_event;
if (event->IsMouseEvent())
pointer_event.reset(new ui::PointerEvent(*event->AsMouseEvent()));
else
« no previous file with comments | « mash/wm/frame/move_event_handler.h ('k') | mash/wm/frame/move_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698