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

Unified Diff: shell/crash/crash_upload.cc

Issue 1641513004: Update //base to chromium 9659b08ea5a34f889dc4166217f438095ddc10d2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 11 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 | « shell/context.cc ('k') | shell/filename_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « shell/context.cc ('k') | shell/filename_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698