Index: Source/modules/serviceworkers/CacheTest.cpp |
diff --git a/Source/modules/serviceworkers/CacheTest.cpp b/Source/modules/serviceworkers/CacheTest.cpp |
index 0f5c7926f2fa08f7e9f7644e362c0d987b4ae940..8931bb6f619891284507b9c1c5d05edbc2d2c32c 100644 |
--- a/Source/modules/serviceworkers/CacheTest.cpp |
+++ b/Source/modules/serviceworkers/CacheTest.cpp |
@@ -412,7 +412,7 @@ TEST_F(ServiceWorkerCacheTest, BatchOperationArguments) |
request = newRequestFromUrl(url); |
ASSERT(request); |
- ScriptPromise putResult = cache->put(scriptState(), requestToRequestInfo(request), response, exceptionState()); |
+ ScriptPromise putResult = cache->put(scriptState(), requestToRequestInfo(request), response->clone(), exceptionState()); |
EXPECT_EQ("dispatchBatch", testCache->getAndClearLastErrorWebCacheMethodCalled()); |
EXPECT_EQ(kNotImplementedString, getRejectString(putResult)); |