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

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

Issue 1311923004: Rename FormData/FormDataBuilder to EncodedFormData/FormDataEncoder respectively. (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
Index: Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
diff --git a/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp b/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
index 6c9d35254a218c97523a50a96b6f319eeb5a5835..718dfd9b56f907d4e626462acee454cfa6d4dca2 100644
--- a/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
+++ b/Source/modules/fetch/FetchBlobDataConsumerHandle.cpp
@@ -225,12 +225,12 @@ public:
return blobDataHandle.release();
}
- PassRefPtr<FormData> drainAsFormData() override
+ PassRefPtr<EncodedFormData> drainAsFormData() override
{
RefPtr<BlobDataHandle> handle = drainAsBlobDataHandle(AllowBlobWithInvalidSize);
if (!handle)
return nullptr;
- RefPtr<FormData> formData = FormData::create();
+ RefPtr<EncodedFormData> formData = EncodedFormData::create();
formData->appendBlob(handle->uuid(), handle);
return formData.release();
}

Powered by Google App Engine
This is Rietveld 408576698