| Index: Source/modules/serviceworkers/CacheStorage.cpp
|
| diff --git a/Source/modules/serviceworkers/CacheStorage.cpp b/Source/modules/serviceworkers/CacheStorage.cpp
|
| index f734d13ee545ba21ded6f4c528c9ebec56f6ae14..0c5bca5f0efc90cb7ae76bfdb829c04df3fdec81 100644
|
| --- a/Source/modules/serviceworkers/CacheStorage.cpp
|
| +++ b/Source/modules/serviceworkers/CacheStorage.cpp
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "bindings/core/v8/ScriptPromiseResolver.h"
|
| #include "bindings/core/v8/ScriptState.h"
|
| +#include "modules/serviceworkers/Cache.h"
|
| #include "public/platform/WebServiceWorkerCacheError.h"
|
| #include "public/platform/WebServiceWorkerCacheStorage.h"
|
|
|
| @@ -58,9 +59,7 @@ public:
|
|
|
| virtual void onSuccess(WebServiceWorkerCache* cache) OVERRIDE
|
| {
|
| - // FIXME: There should be a blink side of the Cache object implementation here, rather than
|
| - // this nonsensical return.
|
| - m_resolver->resolve("succesfully returned a cache");
|
| + m_resolver->resolve(Cache::fromWebServiceWorkerCache(cache));
|
| }
|
|
|
| virtual void onError(WebServiceWorkerCacheError* reason) OVERRIDE
|
|
|