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

Unified Diff: ash/wm/gestures/long_press_affordance_handler.cc

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
Index: ash/wm/gestures/long_press_affordance_handler.cc
diff --git a/ash/wm/gestures/long_press_affordance_handler.cc b/ash/wm/gestures/long_press_affordance_handler.cc
index a6c3f07b7ddb6ccb8b00c962e031095fdf4a3b38..95e3f1f743d12ac7925c37838f459fa88b35433b 100644
--- a/ash/wm/gestures/long_press_affordance_handler.cc
+++ b/ash/wm/gestures/long_press_affordance_handler.cc
@@ -4,6 +4,8 @@
#include "ash/wm/gestures/long_press_affordance_handler.h"
+#include <memory>
+
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ash/shell_window_ids.h"
@@ -213,7 +215,7 @@ class LongPressAffordanceHandler::LongPressAffordanceView
canvas->Restore();
}
- scoped_ptr<views::Widget> widget_;
+ std::unique_ptr<views::Widget> widget_;
int current_angle_;
double current_scale_;
« no previous file with comments | « ash/wm/gestures/long_press_affordance_handler.h ('k') | ash/wm/gestures/overview_gesture_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698