| Index: content/browser/download/download_item_impl.cc
|
| ===================================================================
|
| --- content/browser/download/download_item_impl.cc (revision 119906)
|
| +++ content/browser/download/download_item_impl.cc (working copy)
|
| @@ -790,9 +790,8 @@
|
|
|
| FilePath DownloadItemImpl::GetFileNameToReportUser() const {
|
| if (state_info_.path_uniquifier > 0) {
|
| - FilePath name(state_info_.target_name);
|
| - DownloadFile::AppendNumberToPath(&name, state_info_.path_uniquifier);
|
| - return name;
|
| + return state_info_.target_name.InsertBeforeExtensionASCII(
|
| + StringPrintf(" (%d)", state_info_.path_uniquifier));
|
| }
|
| return state_info_.target_name;
|
| }
|
|
|