Index: chrome/browser/download/download_util.cc |
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc |
index 2da4c14d6625ef91207bc41422d64b17609cab10..591eb837b032b25e50b72021780e9d40496e8eeb 100644 |
--- a/chrome/browser/download/download_util.cc |
+++ b/chrome/browser/download/download_util.cc |
@@ -490,8 +490,7 @@ void UpdateAppIconDownloadProgress(int download_count, |
// Appends the passed the number between parenthesis the path before the |
// extension. |
void AppendNumberToPath(FilePath* path, int number) { |
- file_util::InsertBeforeExtension(path, |
- StringPrintf(FILE_PATH_LITERAL(" (%d)"), number)); |
+ *path = path->InsertBeforeExtensionASCII(StringPrintf(" (%d)", number)); |
} |
// Attempts to find a number that can be appended to that path to make it |