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

Unified Diff: ui/wm/core/accelerator_filter.cc

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/wm/core/accelerator_filter.h ('k') | ui/wm/core/capture_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/accelerator_filter.cc
diff --git a/ui/wm/core/accelerator_filter.cc b/ui/wm/core/accelerator_filter.cc
index 9306555c6038eebf92870d871e11372074e9fdf3..233dc5809f916965623089ba8b443500d850012f 100644
--- a/ui/wm/core/accelerator_filter.cc
+++ b/ui/wm/core/accelerator_filter.cc
@@ -42,7 +42,7 @@ bool IsSystemKey(ui::KeyboardCode key_code) {
// AcceleratorFilter, public:
AcceleratorFilter::AcceleratorFilter(
- scoped_ptr<AcceleratorDelegate> delegate,
+ std::unique_ptr<AcceleratorDelegate> delegate,
ui::AcceleratorHistory* accelerator_history)
: delegate_(std::move(delegate)),
accelerator_history_(accelerator_history) {
« no previous file with comments | « ui/wm/core/accelerator_filter.h ('k') | ui/wm/core/capture_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698