| Index: third_party/WebKit/Source/modules/storage/StorageNamespace.h
|
| diff --git a/third_party/WebKit/Source/modules/storage/StorageNamespace.h b/third_party/WebKit/Source/modules/storage/StorageNamespace.h
|
| index 1161c6ec0cb5d5e492538a997b8a46e8c28eb659..48565baedd05575b428c355266582e208f0d2c67 100644
|
| --- a/third_party/WebKit/Source/modules/storage/StorageNamespace.h
|
| +++ b/third_party/WebKit/Source/modules/storage/StorageNamespace.h
|
| @@ -28,8 +28,7 @@
|
|
|
| #include "modules/ModulesExport.h"
|
| #include "platform/heap/Handle.h"
|
| -#include "wtf/OwnPtr.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -40,7 +39,7 @@ class StorageArea;
|
| class MODULES_EXPORT StorageNamespace {
|
| USING_FAST_MALLOC(StorageNamespace);
|
| public:
|
| - explicit StorageNamespace(PassOwnPtr<WebStorageNamespace>);
|
| + explicit StorageNamespace(std::unique_ptr<WebStorageNamespace>);
|
| ~StorageNamespace();
|
|
|
| static StorageArea* localStorageArea(SecurityOrigin*);
|
| @@ -49,7 +48,7 @@ public:
|
| bool isSameNamespace(const WebStorageNamespace& sessionNamespace) const;
|
|
|
| private:
|
| - OwnPtr<WebStorageNamespace> m_webStorageNamespace;
|
| + std::unique_ptr<WebStorageNamespace> m_webStorageNamespace;
|
| };
|
|
|
| } // namespace blink
|
|
|