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