Index: chrome/common/crash_keys.cc |
diff --git a/chrome/common/crash_keys.cc b/chrome/common/crash_keys.cc |
index ad907921404a37ccc09487d258c2d552eb054ea8..d925cf9262b0127370b67856619be53e6fc7916b 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; |