summaryrefslogtreecommitdiffstats
path: root/chrome/common/crash_keys.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/crash_keys.cc')
-rw-r--r--chrome/common/crash_keys.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/crash_keys.cc b/chrome/common/crash_keys.cc
index ad90792..d925cf9 100644
--- a/chrome/common/crash_keys.cc
+++ b/chrome/common/crash_keys.cc
@@ -260,7 +260,8 @@ size_t RegisterChromeCrashKeys() {
void SetMetricsClientIdFromGUID(const std::string& metrics_client_guid) {
std::string stripped_guid(metrics_client_guid);
// Remove all instance of '-' char from the GUID. So BCD-WXY becomes BCDWXY.
- ReplaceSubstringsAfterOffset(&stripped_guid, 0, "-", "");
+ base::ReplaceSubstringsAfterOffset(
+ &stripped_guid, 0, "-", base::StringPiece());
if (stripped_guid.empty())
return;