Bug 432066: fix solaris bustage from bug 431754, patch by Alfred Peng <alfred.peng@sun.com>, r=tony, a=mconnor

git-svn-id: svn://10.0.0.236/trunk@251217 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com
2008-05-05 19:57:55 +00:00
parent f2ef54bc66
commit f08cfee56e

View File

@@ -308,7 +308,7 @@ nsUrlClassifierStreamUpdater::UpdateSuccess(PRUint32 requestedTimeout)
}
// DownloadDone() clears mSuccessCallback, so we save it off here.
nsCOMPtr<nsIUrlClassifierCallback> successCallback = mDownloadError ? nsnull : mSuccessCallback;
nsCOMPtr<nsIUrlClassifierCallback> successCallback = mDownloadError ? nsnull : mSuccessCallback.get();
DownloadDone();
nsCAutoString strTimeout;
@@ -326,7 +326,7 @@ nsUrlClassifierStreamUpdater::UpdateError(PRUint32 result)
LOG(("nsUrlClassifierStreamUpdater::UpdateError [this=%p]", this));
// DownloadDone() clears mUpdateErrorCallback, so we save it off here.
nsCOMPtr<nsIUrlClassifierCallback> errorCallback = mDownloadError ? nsnull : mUpdateErrorCallback;
nsCOMPtr<nsIUrlClassifierCallback> errorCallback = mDownloadError ? nsnull : mUpdateErrorCallback.get();
DownloadDone();