Index: third_party/WebKit/Source/modules/fetch/Response.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Response.cpp b/third_party/WebKit/Source/modules/fetch/Response.cpp |
index 2088dab37975bee2fdf207a6c0ce942828624156..2c832936c79e9e2c523861609c362c2d2e108599 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Response.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Response.cpp |
@@ -135,7 +135,7 @@ Response* Response::create(ScriptState* scriptState, ScriptValue bodyValue, cons |
RefPtr<EncodedFormData> formData = V8FormData::toImpl(body.As<v8::Object>())->encodeMultiPartFormData(); |
// Here we handle formData->boundary() as a C-style string. See |
// FormDataEncoder::generateUniqueBoundaryString. |
- contentType = AtomicString("multipart/form-data; boundary=", AtomicString::ConstructFromLiteral) + formData->boundary().data(); |
+ contentType = AtomicString("multipart/form-data; boundary=") + formData->boundary().data(); |
bodyHandle = FetchFormDataConsumerHandle::create(executionContext, formData.release()); |
} else if (RuntimeEnabledFeatures::responseConstructedWithReadableStreamEnabled() && ReadableStreamOperations::isReadableStream(scriptState, bodyValue)) { |
bodyHandle = ReadableStreamDataConsumerHandle::create(scriptState, bodyValue); |