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

Unified Diff: ash/wm/gestures/long_press_affordance_handler.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: 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
Index: ash/wm/gestures/long_press_affordance_handler.h
diff --git a/ash/wm/gestures/long_press_affordance_handler.h b/ash/wm/gestures/long_press_affordance_handler.h
index 187e5c41cca9fa10baf34c4f4f99f03126fd51b4..4c6d3ac6719f3332214c9c7f277c37c387a998a9 100644
--- a/ash/wm/gestures/long_press_affordance_handler.h
+++ b/ash/wm/gestures/long_press_affordance_handler.h
@@ -5,8 +5,9 @@
#ifndef ASH_WM_GESTURES_LONG_PRESS_AFFORDANCE_HANDLER_H_
#define ASH_WM_GESTURES_LONG_PRESS_AFFORDANCE_HANDLER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/timer/timer.h"
#include "ui/aura/window_observer.h"
#include "ui/gfx/animation/linear_animation.h"
@@ -60,7 +61,7 @@ class LongPressAffordanceHandler : public gfx::LinearAnimation,
// Overridden from aura::WindowObserver.
void OnWindowDestroying(aura::Window* window) override;
- scoped_ptr<LongPressAffordanceView> view_;
+ std::unique_ptr<LongPressAffordanceView> view_;
gfx::Point tap_down_location_;
base::OneShotTimer timer_;
aura::Window* tap_down_target_;

Powered by Google App Engine
This is Rietveld 408576698