| 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..d2f723b2bfb9166f37247143411105bd418b70f4 100644
|
| --- a/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
|
| +++ b/third_party/WebKit/Source/modules/cachestorage/CacheTest.cpp
|
| @@ -15,6 +15,7 @@
|
| #include "core/dom/Document.h"
|
| #include "core/frame/Frame.h"
|
| #include "core/testing/DummyPageHolder.h"
|
| +#include "modules/fetch/BodyStreamBuffer.h"
|
| #include "modules/fetch/FetchFormDataConsumerHandle.h"
|
| #include "modules/fetch/GlobalFetch.h"
|
| #include "modules/fetch/Request.h"
|
| @@ -625,7 +626,7 @@ TEST_F(CacheStorageTest, Add)
|
| fetcher->setExpectedFetchUrl(&url);
|
|
|
| Request* request = newRequestFromUrl(url);
|
| - Response* response = Response::create(getScriptState(), FetchFormDataConsumerHandle::create(content), contentType, ResponseInit(), exceptionState());
|
| + Response* response = Response::create(getScriptState(), new BodyStreamBuffer(getScriptState(), FetchFormDataConsumerHandle::create(content)), contentType, ResponseInit(), exceptionState());
|
| fetcher->setResponse(response);
|
|
|
| WebVector<WebServiceWorkerCache::BatchOperation> expectedPutOperations(size_t(1));
|
|
|