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

Unified Diff: content/child/multipart_response_delegate.cc

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 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 | « content/child/blink_platform_impl.cc ('k') | content/child/npapi/plugin_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/multipart_response_delegate.cc
diff --git a/content/child/multipart_response_delegate.cc b/content/child/multipart_response_delegate.cc
index 2904d8653c86b16d78064357813043c0d7129e59..ecf7669ebebe9ffa7241707043df3161ae5e5392 100644
--- a/content/child/multipart_response_delegate.cc
+++ b/content/child/multipart_response_delegate.cc
@@ -71,7 +71,7 @@ MultipartResponseDelegate::MultipartResponseDelegate(
stop_sending_(false),
has_sent_first_response_(false) {
// Some servers report a boundary prefixed with "--". See bug 5786.
- if (base::StartsWithASCII(boundary, "--", true)) {
+ if (base::StartsWith(boundary, "--", base::CompareCase::SENSITIVE)) {
boundary_.assign(boundary);
} else {
boundary_.append(boundary);
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/npapi/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698