Index: Source/modules/serviceworkers/FetchStores.cpp |
diff --git a/Source/modules/serviceworkers/FetchStores.cpp b/Source/modules/serviceworkers/FetchStores.cpp |
index ec398cd67b66f35075540445ceb53af1c46754fe..870bbcdef3814a7ae710d8adb2d0da3d9b1e5be7 100644 |
--- a/Source/modules/serviceworkers/FetchStores.cpp |
+++ b/Source/modules/serviceworkers/FetchStores.cpp |
@@ -7,6 +7,7 @@ |
#include "bindings/core/v8/ScriptPromiseResolver.h" |
#include "bindings/core/v8/ScriptState.h" |
+#include "modules/serviceworkers/FetchStore.h" |
#include "public/platform/WebServiceWorkerFetchStores.h" |
#include "public/platform/WebServiceWorkerFetchStoresError.h" |
@@ -56,9 +57,7 @@ public: |
virtual void onSuccess(int* fetchStoreID) OVERRIDE |
{ |
- // TODO: There should be a blink side of the Cache object implementation here, rather than |
- // this nonsensical pass through. |
- m_resolver->resolve(*fetchStoreID); |
+ m_resolver->resolve(FetchStore::create(*fetchStoreID)); |
} |
virtual void onError(WebServiceWorkerFetchStoresError* reason) OVERRIDE |