Bug 1225682 - Don't use nsAuto{,C}String as class member variables in toolkit/. r=froydnj

This commit is contained in:
Mike Hommey 2015-11-19 18:31:38 +09:00
parent 5c34652bb7
commit 3441224a73
6 changed files with 6 additions and 6 deletions

View File

@ -433,7 +433,7 @@ private:
/**
* Stores the SHA-256 hash associated with the downloaded file.
*/
nsAutoCString mHash;
nsCString mHash;
/**
* Stores the certificate chains in an nsIArray of nsIX509CertList of

View File

@ -45,7 +45,7 @@ public:
NS_DECL_NSIAUTOCOMPLETERESULT
nsTArray<nsString> mValues;
nsAutoString mSearchString;
nsString mSearchString;
uint16_t mSearchResult;
private:
~nsFileResult() {}

View File

@ -171,7 +171,7 @@ public:
class ThreadHangStats
{
private:
nsAutoCString mName;
nsCString mName;
public:
TimeHistogram mActivity;

View File

@ -33,7 +33,7 @@ protected:
virtual ~nsCheckSummedOutputStream() { nsSafeFileOutputStream::Close(); }
nsCOMPtr<nsICryptoHash> mHash;
nsAutoCString mCheckSum;
nsCString mCheckSum;
};
// returns a file output stream which can be QI'ed to nsIFileOutputStream.

View File

@ -77,5 +77,5 @@ private:
nsCOMPtr<nsIFile> mProfileDir;
nsCOMPtr<nsIFile> mProfileLocalDir;
nsCOMPtr<nsIFile> mTargetDir;
nsAutoString mLeafName;
nsString mLeafName;
};

View File

@ -89,7 +89,7 @@ private:
nsCOMPtr<nsIFile> mOSApplyToDir;
int mArgc;
char **mArgv;
nsAutoCString mAppVersion;
nsCString mAppVersion;
bool mIsOSUpdate;
};