mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 642551 followup to address review comment
This commit is contained in:
parent
ffc9b17f74
commit
bcb6e0639c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user