Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: Source/modules/fetch/Response.cpp

Issue 1325893005: Rename DOMFormData to FormData. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/fetch/RequestInit.cpp ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/Response.cpp
diff --git a/Source/modules/fetch/Response.cpp b/Source/modules/fetch/Response.cpp
index 33359c9d0ba5ed3d904cd33eeb63666a83423408..d1126c9f7c5975040e62577812dd476837071a82 100644
--- a/Source/modules/fetch/Response.cpp
+++ b/Source/modules/fetch/Response.cpp
@@ -10,7 +10,7 @@
#include "core/dom/DOMArrayBuffer.h"
#include "core/dom/DOMArrayBufferView.h"
#include "core/fileapi/Blob.h"
-#include "core/html/DOMFormData.h"
+#include "core/html/FormData.h"
#include "modules/fetch/BodyStreamBuffer.h"
#include "modules/fetch/FetchBlobDataConsumerHandle.h"
#include "modules/fetch/ResponseInit.h"
@@ -130,7 +130,7 @@ Response* Response::create(ExecutionContext* context, const BodyInit& body, cons
return create(context, blob, ResponseInit(responseInit, exceptionState), exceptionState);
}
if (body.isFormData()) {
- DOMFormData* domFormData = body.getAsFormData();
+ FormData* domFormData = body.getAsFormData();
OwnPtr<BlobData> blobData = BlobData::create();
// FIXME: the same code exist in RequestInit::RequestInit().
RefPtr<EncodedFormData> httpBody = domFormData->createMultiPartFormData();
« no previous file with comments | « Source/modules/fetch/RequestInit.cpp ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698