| Index: third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
|
| index 291b13edeb9b2b5c96f030dfed2021c4ff9373a4..cbb59011804eabdfb58ddf04afcacea16ea8ef2e 100644
|
| --- a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
|
| @@ -427,7 +427,7 @@
|
|
|
| WebServiceWorkerResponse webResponse;
|
| webResponse.setURL(KURL(ParsedURLString, url));
|
| - Response* response = Response::create(getScriptState(), webResponse);
|
| + Response* response = Response::create(getExecutionContext(), webResponse);
|
|
|
| WebVector<WebServiceWorkerCache::BatchOperation> expectedDeleteOperations(size_t(1));
|
| {
|
| @@ -459,7 +459,7 @@
|
|
|
| request = newRequestFromUrl(url);
|
| ASSERT(request);
|
| - ScriptPromise putResult = cache->put(getScriptState(), requestToRequestInfo(request), response->clone(getScriptState(), exceptionState()), exceptionState());
|
| + ScriptPromise putResult = cache->put(getScriptState(), requestToRequestInfo(request), response->clone(exceptionState()), exceptionState());
|
| EXPECT_EQ("dispatchBatch", testCache->getAndClearLastErrorWebCacheMethodCalled());
|
| EXPECT_EQ(kNotImplementedString, getRejectString(putResult));
|
|
|
| @@ -625,7 +625,7 @@
|
| fetcher->setExpectedFetchUrl(&url);
|
|
|
| Request* request = newRequestFromUrl(url);
|
| - Response* response = Response::create(getScriptState(), FetchFormDataConsumerHandle::create(content), contentType, ResponseInit(), exceptionState());
|
| + Response* response = Response::create(getExecutionContext(), FetchFormDataConsumerHandle::create(content), contentType, ResponseInit(), exceptionState());
|
| fetcher->setResponse(response);
|
|
|
| WebVector<WebServiceWorkerCache::BatchOperation> expectedPutOperations(size_t(1));
|
|
|