| Index: Source/modules/serviceworkers/CacheStorage.h
|
| diff --git a/Source/modules/serviceworkers/CacheStorage.h b/Source/modules/serviceworkers/CacheStorage.h
|
| index d4ef8e8d374f886379ebb19e9e0bcc7b78521a79..2c483f42ca1af59f180f43563e1e8636a27b5406 100644
|
| --- a/Source/modules/serviceworkers/CacheStorage.h
|
| +++ b/Source/modules/serviceworkers/CacheStorage.h
|
| @@ -10,6 +10,7 @@
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "modules/serviceworkers/Cache.h"
|
| #include "modules/serviceworkers/CacheQueryOptions.h"
|
| +#include "public/platform/WebServiceWorkerCacheStorage.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -19,7 +20,7 @@ namespace blink {
|
| class Cache;
|
| class WebServiceWorkerCacheStorage;
|
|
|
| -class CacheStorage final : public GarbageCollected<CacheStorage>, public ScriptWrappable {
|
| +class CacheStorage final : public GarbageCollectedFinalized<CacheStorage>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| WTF_MAKE_NONCOPYABLE(CacheStorage);
|
| public:
|
| @@ -44,10 +45,10 @@ private:
|
| friend class WithCacheCallbacks;
|
| friend class DeleteCallbacks;
|
|
|
| - explicit CacheStorage(WebServiceWorkerCacheStorage*);
|
| + explicit CacheStorage(PassOwnPtr<WebServiceWorkerCacheStorage>);
|
| ScriptPromise matchImpl(ScriptState*, const Request*, const CacheQueryOptions&);
|
|
|
| - WebServiceWorkerCacheStorage* m_webCacheStorage;
|
| + OwnPtr<WebServiceWorkerCacheStorage> m_webCacheStorage;
|
| HeapHashMap<String, Member<Cache>> m_nameToCacheMap;
|
| };
|
|
|
|
|