Bug 1664149: Hold a self reference in nsDataObj. r=smaug, a=RyanVM

This commit is contained in:
roytam1 2022-01-19 10:02:30 +08:00
commit afc2f71d70
2 changed files with 21 additions and 0 deletions

View file

@ -228,6 +228,7 @@ protected:
// nsDataObj owns and ref counts CEnumFormatEtc,
nsCOMPtr<nsIFile> mCachedTempFile;
RefPtr<nsDataObj> mKeepAlive;
BOOL mIsAsyncMode;
BOOL mIsInOperation;