Index: Source/modules/serviceworkers/CacheStorage.cpp |
diff --git a/Source/modules/serviceworkers/CacheStorage.cpp b/Source/modules/serviceworkers/CacheStorage.cpp |
index 8094b55ce8e14617b73218072b4ad49b1bef6359..3604bb40ae611aee230d5982f18916191d25425a 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 |