diff options
Diffstat (limited to 'content/common/set_process_title.cc')
-rw-r--r-- | content/common/set_process_title.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/set_process_title.cc b/content/common/set_process_title.cc index 229524e..d74af96 100644 --- a/content/common/set_process_title.cc +++ b/content/common/set_process_title.cc @@ -59,7 +59,7 @@ void SetProcessTitleFromCommandLine(const char** main_argv) { // If the binary has since been deleted, Linux appends " (deleted)" to the // symlink target. Remove it, since this is not really part of our name. const std::string kDeletedSuffix = " (deleted)"; - if (base::EndsWith(title, kDeletedSuffix, true)) + if (base::EndsWith(title, kDeletedSuffix, base::CompareCase::SENSITIVE)) title.resize(title.size() - kDeletedSuffix.size()); // PR_SET_NAME is available in Linux 2.6.9 and newer. |