Index: third_party/WebKit/Source/core/frame/SettingsDelegate.h |
diff --git a/third_party/WebKit/Source/core/frame/SettingsDelegate.h b/third_party/WebKit/Source/core/frame/SettingsDelegate.h |
index 4b37ff97468f398fff4b25a2af2de5844a4a178b..561cfa743fd73880c0d6b74e1abb63005a7c050f 100644 |
--- a/third_party/WebKit/Source/core/frame/SettingsDelegate.h |
+++ b/third_party/WebKit/Source/core/frame/SettingsDelegate.h |
@@ -33,7 +33,8 @@ |
#include "core/CoreExport.h" |
#include "wtf/Allocator.h" |
-#include <memory> |
+#include "wtf/OwnPtr.h" |
+#include "wtf/PassOwnPtr.h" |
namespace blink { |
@@ -42,7 +43,7 @@ class Settings; |
class CORE_EXPORT SettingsDelegate { |
DISALLOW_NEW(); |
public: |
- explicit SettingsDelegate(std::unique_ptr<Settings>); |
+ explicit SettingsDelegate(PassOwnPtr<Settings>); |
virtual ~SettingsDelegate(); |
Settings* settings() const { return m_settings.get(); } |
@@ -66,7 +67,7 @@ public: |
virtual void settingsChanged(ChangeType) = 0; |
protected: |
- std::unique_ptr<Settings> const m_settings; |
+ OwnPtr<Settings> const m_settings; |
}; |
} // namespace blink |