Index: third_party/WebKit/Source/modules/cachestorage/CacheStorage.h |
diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.h b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.h |
index 29a47211e919198056766ed76628d0c9d4f68e35..9a0d149d4f505fb1fe646b75c3b7119695cb9efe 100644 |
--- a/third_party/WebKit/Source/modules/cachestorage/CacheStorage.h |
+++ b/third_party/WebKit/Source/modules/cachestorage/CacheStorage.h |
@@ -15,6 +15,7 @@ |
#include "wtf/Forward.h" |
#include "wtf/HashMap.h" |
#include "wtf/Noncopyable.h" |
+#include <memory> |
namespace blink { |
@@ -47,11 +48,11 @@ private: |
friend class WithCacheCallbacks; |
friend class DeleteCallbacks; |
- CacheStorage(GlobalFetch::ScopedFetcher*, PassOwnPtr<WebServiceWorkerCacheStorage>); |
+ CacheStorage(GlobalFetch::ScopedFetcher*, std::unique_ptr<WebServiceWorkerCacheStorage>); |
ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOptions&); |
Member<GlobalFetch::ScopedFetcher> m_scopedFetcher; |
- OwnPtr<WebServiceWorkerCacheStorage> m_webCacheStorage; |
+ std::unique_ptr<WebServiceWorkerCacheStorage> m_webCacheStorage; |
HeapHashMap<String, Member<Cache>> m_nameToCacheMap; |
}; |