Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
index f326a0041130d2d4f0e9f4c40b8ecf5e1e3f8864..bba3de7b6572cf027c9975b6b0dde4c3d1e4dc5a 100644 |
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
@@ -783,7 +783,7 @@ void XMLHttpRequest::send(FormData* body, ExceptionState& exceptionState) |
httpBody = body->encodeMultiPartFormData(); |
if (getRequestHeader(HTTPNames::Content_Type).isEmpty()) { |
- AtomicString contentType = AtomicString("multipart/form-data; boundary=", AtomicString::ConstructFromLiteral) + httpBody->boundary().data(); |
+ AtomicString contentType = AtomicString("multipart/form-data; boundary=") + httpBody->boundary().data(); |
setRequestHeaderInternal(HTTPNames::Content_Type, contentType); |
} |
} |
@@ -1288,7 +1288,7 @@ AtomicString XMLHttpRequest::finalResponseMIMETypeWithFallback() const |
// FIXME: This fallback is not specified in the final MIME type algorithm |
// of the XHR spec. Move this to more appropriate place. |
- return AtomicString("text/xml", AtomicString::ConstructFromLiteral); |
+ return AtomicString("text/xml"); |
} |
bool XMLHttpRequest::responseIsXML() const |