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