Fix bustage from bug 674742. a=bustage-fix
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 10 Oct 2012 14:33:34 +0100
changeset 13468 a134b132bedfd365d1af86041a360a5d09d358a0
parent 13467 f521dad4966d897becf28c7f976455677bda2459
child 13469 28133b63f623f7faa6e9438fda345433468589d8
push id704
push userbugzilla@standard8.plus.com
push dateWed, 10 Oct 2012 13:34:13 +0000
treeherdercomm-beta@a134b132bedf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs674742
Fix bustage from bug 674742. a=bustage-fix
mailnews/base/src/nsMsgFolderCompactor.cpp
--- a/mailnews/base/src/nsMsgFolderCompactor.cpp
+++ b/mailnews/base/src/nsMsgFolderCompactor.cpp
@@ -435,17 +435,17 @@ nsFolderCompactState::FinishCompact()
   {
     // First we're going to try and move the old summary file out the way.
     // We don't delete it yet, as we want to keep the files in sync.
     nsCOMPtr<nsIFile> tempSummaryFile;
     rv = oldSummaryFile->Clone(getter_AddRefs(tempSummaryFile));
     if (NS_SUCCEEDED(rv))
       rv = tempSummaryFile->CreateUnique(nsIFile::NORMAL_FILE_TYPE, 0600);
 
-    nsAutoCString tempSummaryFileName;
+    nsCAutoString tempSummaryFileName;
     if (NS_SUCCEEDED(rv))
       rv = tempSummaryFile->GetNativeLeafName(tempSummaryFileName);
 
     if (NS_SUCCEEDED(rv))
       rv = oldSummaryFile->MoveToNative((nsIFile*) nullptr, tempSummaryFileName);
 
     NS_WARN_IF_FALSE(NS_SUCCEEDED(rv), "error moving compacted folder's db out of the way");
     if (NS_SUCCEEDED(rv))