Index: chrome/browser/profiles/profile_avatar_icon_util.cc |
diff --git a/chrome/browser/profiles/profile_avatar_icon_util.cc b/chrome/browser/profiles/profile_avatar_icon_util.cc |
index dcbf5068e12f6bcf6689181c5e82a9bc3d344fb8..136ffef28d80500efdaef0c9513a58ca2966135e 100644 |
--- a/chrome/browser/profiles/profile_avatar_icon_util.cc |
+++ b/chrome/browser/profiles/profile_avatar_icon_util.cc |
@@ -545,7 +545,7 @@ bool GetImageURLWithThumbnailSize( |
std::string new_path = old_path.substr(0, pos) + new_size_component + |
old_path.substr(end); |
GURL::Replacements replacement; |
- replacement.SetPathStr(new_path.c_str()); |
+ replacement.SetPathStr(new_path); |
*new_url = old_url.ReplaceComponents(replacement); |
return new_url->is_valid(); |
} |