Index: third_party/WebKit/Source/modules/storage/StorageArea.h |
diff --git a/third_party/WebKit/Source/modules/storage/StorageArea.h b/third_party/WebKit/Source/modules/storage/StorageArea.h |
index 406012a8ce59399e5c21da346953c3fb033d8bc9..3f28860a08f6c025c16841454beb7c4f275906b6 100644 |
--- a/third_party/WebKit/Source/modules/storage/StorageArea.h |
+++ b/third_party/WebKit/Source/modules/storage/StorageArea.h |
@@ -29,9 +29,8 @@ |
#include "core/frame/LocalFrameLifecycleObserver.h" |
#include "modules/ModulesExport.h" |
#include "platform/heap/Handle.h" |
-#include "wtf/OwnPtr.h" |
-#include "wtf/PassOwnPtr.h" |
#include "wtf/text/WTFString.h" |
+#include <memory> |
namespace blink { |
@@ -51,7 +50,7 @@ enum StorageType { |
class MODULES_EXPORT StorageArea final : public GarbageCollectedFinalized<StorageArea>, public LocalFrameLifecycleObserver { |
USING_GARBAGE_COLLECTED_MIXIN(StorageArea); |
public: |
- static StorageArea* create(PassOwnPtr<WebStorageArea>, StorageType); |
+ static StorageArea* create(std::unique_ptr<WebStorageArea>, StorageType); |
virtual ~StorageArea(); |
@@ -74,11 +73,11 @@ public: |
DECLARE_TRACE(); |
private: |
- StorageArea(PassOwnPtr<WebStorageArea>, StorageType); |
+ StorageArea(std::unique_ptr<WebStorageArea>, StorageType); |
static bool isEventSource(Storage*, WebStorageArea* sourceAreaInstance); |
- OwnPtr<WebStorageArea> m_storageArea; |
+ std::unique_ptr<WebStorageArea> m_storageArea; |
StorageType m_storageType; |
bool m_canAccessStorageCachedResult; |
}; |