Bug 1065258 (part 3) - Remove TempDirMemoryFinishCallback::mIdentifier, which is dead. r=jld.

--HG--
extra : rebase_source : 7db3562208f78be05b855efcbee7f6182df8bf42
This commit is contained in:
Nicholas Nethercote 2014-09-10 00:31:40 -07:00
parent a0b8460dc0
commit 884778ae51

View File

@ -584,12 +584,10 @@ public:
TempDirMemoryFinishCallback(nsGZFileWriter* aReportsWriter,
nsIFile* aReportsTmpFile,
const nsCString& aReportsFinalFilename,
const nsString& aIdentifier)
const nsCString& aReportsFinalFilename)
: mReportsWriter(aReportsWriter)
, mReportsTmpFile(aReportsTmpFile)
, mReportsFilename(aReportsFinalFilename)
, mIdentifier(aIdentifier)
{
}
@ -675,7 +673,6 @@ private:
nsRefPtr<nsGZFileWriter> mReportsWriter;
nsCOMPtr<nsIFile> mReportsTmpFile;
nsCString mReportsFilename;
nsString mIdentifier;
};
NS_IMPL_ISUPPORTS(TempDirMemoryFinishCallback, nsIFinishReportingCallback)
@ -740,7 +737,7 @@ nsMemoryInfoDumper::DumpMemoryInfoToTempDir(const nsAString& aIdentifier,
new DumpReportCallback(reportsWriter);
nsRefPtr<nsIFinishReportingCallback> finishReport =
new TempDirMemoryFinishCallback(reportsWriter, reportsTmpFile,
reportsFinalFilename, identifier);
reportsFinalFilename);
rv = mgr->GetReportsExtended(dumpReport, nullptr,
finishReport, nullptr,
aAnonymize,