Index: ui/base/test/scoped_preferred_scroller_style_mac.h |
diff --git a/ui/base/test/scoped_preferred_scroller_style_mac.h b/ui/base/test/scoped_preferred_scroller_style_mac.h |
index 9e56130dd6b8cd068107b312d1f62ecb8b6ee3a0..afeb718e7553949d01d55e48d6fc35e4316775ca 100644 |
--- a/ui/base/test/scoped_preferred_scroller_style_mac.h |
+++ b/ui/base/test/scoped_preferred_scroller_style_mac.h |
@@ -5,8 +5,9 @@ |
#ifndef UI_BASE_TEST_SCOPED_PREFERRED_SCROLLER_STYLE_LEGACY_MAC_H_ |
#define UI_BASE_TEST_SCOPED_PREFERRED_SCROLLER_STYLE_LEGACY_MAC_H_ |
+#include <memory> |
+ |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
namespace base { |
namespace mac { |
@@ -26,7 +27,7 @@ class ScopedPreferredScrollerStyle { |
~ScopedPreferredScrollerStyle(); |
private: |
- scoped_ptr<base::mac::ScopedObjCClassSwizzler> swizzler_; |
+ std::unique_ptr<base::mac::ScopedObjCClassSwizzler> swizzler_; |
// True if the scrollbar style should overlay. |
bool overlay_; |