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

Unified Diff: ui/gfx/win/direct_manipulation.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/gfx/win/direct_manipulation.h ('k') | ui/gfx/win/physical_size.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/direct_manipulation.cc
diff --git a/ui/gfx/win/direct_manipulation.cc b/ui/gfx/win/direct_manipulation.cc
index c35de0c7ec7cb371db77f32b1656159496f17f82..ee50937e640aede5cb36794d2b7560abb66c2e7b 100644
--- a/ui/gfx/win/direct_manipulation.cc
+++ b/ui/gfx/win/direct_manipulation.cc
@@ -10,9 +10,9 @@ namespace gfx {
namespace win {
// static
-scoped_ptr<DirectManipulationHelper>
+std::unique_ptr<DirectManipulationHelper>
DirectManipulationHelper::CreateInstance() {
- scoped_ptr<DirectManipulationHelper> instance;
+ std::unique_ptr<DirectManipulationHelper> instance;
if (base::win::GetVersion() >= base::win::VERSION_WIN10)
instance.reset(new DirectManipulationHelper);
« no previous file with comments | « ui/gfx/win/direct_manipulation.h ('k') | ui/gfx/win/physical_size.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698