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|. |