Bug 642551 followup to address review comment

This commit is contained in:
Boris Zbarsky 2011-09-06 23:04:45 -04:00
parent ffc9b17f74
commit bcb6e0639c

View File

@ -627,12 +627,10 @@ nsDocLoader::OnStopRequest(nsIRequest *aRequest,
//
nsRequestInfo *info = GetRequestInfo(aRequest);
if (info) {
if (info->mLastStatus) {
// Null it out now so we don't find it when looking for status
// from now on. This destroys the nsStatusInfo and hence
// removes it from our list.
info->mLastStatus = nsnull;
}
// Null out mLastStatus now so we don't find it when looking for
// status from now on. This destroys the nsStatusInfo and hence
// removes it from our list.
info->mLastStatus = nsnull;
PRInt64 oldMax = info->mMaxProgress;