зеркало из https://github.com/mozilla/gecko-dev.git
Bug 432066: fix solaris bustage from bug 431754, patch by Alfred Peng <alfred.peng@sun.com>, r=tony, a=mconnor
This commit is contained in:
Родитель
b151718f4d
Коммит
33ba12448a
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче