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

Unified Diff: ui/aura/input_state_lookup_win.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/aura/input_state_lookup.cc ('k') | ui/aura/scoped_window_targeter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/input_state_lookup_win.cc
diff --git a/ui/aura/input_state_lookup_win.cc b/ui/aura/input_state_lookup_win.cc
index f88073ac5ad5be69c0da62e361a89eda34504f50..67c82778b35af59e0a7049b3450d79ebfa93c376 100644
--- a/ui/aura/input_state_lookup_win.cc
+++ b/ui/aura/input_state_lookup_win.cc
@@ -7,11 +7,13 @@
#include <windows.h>
#include <winuser.h>
+#include "base/memory/ptr_util.h"
+
namespace aura {
// static
-scoped_ptr<InputStateLookup> InputStateLookup::Create() {
- return make_scoped_ptr(new InputStateLookupWin);
+std::unique_ptr<InputStateLookup> InputStateLookup::Create() {
+ return base::WrapUnique(new InputStateLookupWin);
}
InputStateLookupWin::InputStateLookupWin() {
« no previous file with comments | « ui/aura/input_state_lookup.cc ('k') | ui/aura/scoped_window_targeter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698