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

Unified Diff: ui/gfx/win/direct_manipulation.h

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/text_elider_unittest.cc ('k') | ui/gfx/win/direct_manipulation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/direct_manipulation.h
diff --git a/ui/gfx/win/direct_manipulation.h b/ui/gfx/win/direct_manipulation.h
index 43423b2798025029927ff4718188fc947df9def5..3a2ccfeafee7844038c9adf4a4d3b74609660eaf 100644
--- a/ui/gfx/win/direct_manipulation.h
+++ b/ui/gfx/win/direct_manipulation.h
@@ -7,8 +7,9 @@
#include <directmanipulation.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/win/scoped_comptr.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/gfx_export.h"
@@ -42,7 +43,7 @@ class GFX_EXPORT DirectManipulationHelper {
public:
// Creates an instance of this class if Direct Manipulation is enabled on
// the platform. If not returns NULL.
- static scoped_ptr<DirectManipulationHelper> CreateInstance();
+ static std::unique_ptr<DirectManipulationHelper> CreateInstance();
// This function instantiates Direct Manipulation and creates a viewport for
// the passed in |window|.
« no previous file with comments | « ui/gfx/text_elider_unittest.cc ('k') | ui/gfx/win/direct_manipulation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698