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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp

Issue 2806263002: Rename blink::AtomicString::Lower() to DeprecatedLower(). (Closed)
Patch Set: Update a comment Created 3 years, 8 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: 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 4cb186631ec2a0b45231e24d6f62385e1ea970c9..5c3f1a0950421f1a879b84f83547ddcf4b0e1341 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
@@ -371,7 +371,8 @@ Blob* XMLHttpRequest::ResponseBlob() {
if (binary_response_builder_ && binary_response_builder_->size()) {
size = binary_response_builder_->size();
blob_data->AppendBytes(binary_response_builder_->Data(), size);
- blob_data->SetContentType(FinalResponseMIMETypeWithFallback().Lower());
+ blob_data->SetContentType(
+ FinalResponseMIMETypeWithFallback().DeprecatedLower());
binary_response_builder_.Clear();
}
response_blob_ =
@@ -1617,7 +1618,8 @@ PassRefPtr<BlobDataHandle> XMLHttpRequest::CreateBlobDataHandleFromResponse() {
// FIXME: finalResponseMIMETypeWithFallback() defaults to
// text/xml which may be incorrect. Replace it with
// finalResponseMIMEType() after compatibility investigation.
- blob_data->SetContentType(FinalResponseMIMETypeWithFallback().Lower());
+ blob_data->SetContentType(
+ FinalResponseMIMETypeWithFallback().DeprecatedLower());
}
return BlobDataHandle::Create(std::move(blob_data),
length_downloaded_to_file_);

Powered by Google App Engine
This is Rietveld 408576698