Index: shell/crash/crash_upload.cc |
diff --git a/shell/crash/crash_upload.cc b/shell/crash/crash_upload.cc |
index 17ecc5a2f9752bd32572717f74abb7b956505997..a2316c828c1f472dc222c47b740c0905f3611d9d 100644 |
--- a/shell/crash/crash_upload.cc |
+++ b/shell/crash/crash_upload.cc |
@@ -161,7 +161,7 @@ MinidumpAndBoundary GetMinidumpAndBoundary(const base::FilePath& dumps_path) { |
// Find multipart boundary. |
std::string start_of_file; |
base::ReadFileToString(minidump, &start_of_file, kMaxBoundarySize); |
- if (!StartsWithASCII(start_of_file, "--", true)) { |
+ if (!base::StartsWith(start_of_file, "--", base::CompareCase::SENSITIVE)) { |
LOG(WARNING) << "Corrupted minidump: " << minidump.value(); |
base::DeleteFile(minidump, false); |
return MinidumpAndBoundary(); |