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

Unified Diff: chrome/browser/about_flags.cc

Issue 1214183008: Update StartsWith calls to use new versions in chrome and content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | chrome/browser/android/preferences/website_preference_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 88729a47cfdf4d3035980e0d4cdf3667dc8c376f..d58c7189a7fab0c5f6ea43db3f563563b38f7e7e 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2449,7 +2449,7 @@ void ReportCustomFlags(const std::string& uma_histogram_hame,
const std::set<std::string>& command_line_difference) {
for (const std::string& flag : command_line_difference) {
int uma_id = about_flags::testing::kBadSwitchFormatHistogramId;
- if (base::StartsWithASCII(flag, "--", true /* case_sensitive */)) {
+ if (base::StartsWith(flag, "--", base::CompareCase::SENSITIVE)) {
// Skip '--' before switch name.
std::string switch_name(flag.substr(2));
« no previous file with comments | « no previous file | chrome/browser/android/preferences/website_preference_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698