| Index: Source/modules/cachestorage/Cache.cpp
|
| diff --git a/Source/modules/cachestorage/Cache.cpp b/Source/modules/cachestorage/Cache.cpp
|
| index 9ac73da389171a1a0de06433ec2ebf91f51f1fc9..90a26599aad2c3e175d76962556391d177928f2a 100644
|
| --- a/Source/modules/cachestorage/Cache.cpp
|
| +++ b/Source/modules/cachestorage/Cache.cpp
|
| @@ -96,13 +96,12 @@ public:
|
| m_resolver.clear();
|
| }
|
|
|
| - void onError(WebPassOwnPtr<WebServiceWorkerCacheError> rawReason) override
|
| + void onError(WebServiceWorkerCacheError reason) override
|
| {
|
| - OwnPtr<WebServiceWorkerCacheError> reason = rawReason.release();
|
| - if (*reason == WebServiceWorkerCacheErrorNotFound)
|
| + if (reason == WebServiceWorkerCacheErrorNotFound)
|
| m_resolver->resolve(false);
|
| else
|
| - m_resolver->reject(CacheStorageError::createException(*reason));
|
| + m_resolver->reject(CacheStorageError::createException(reason));
|
| m_resolver.clear();
|
| }
|
|
|
|
|