adding mAnchorFrame to the ClearFrameRefs call

This commit is contained in:
jfrancis%netscape.com 1999-03-08 01:22:37 +00:00
parent 17efdd55c0
commit bcb1651103
2 changed files with 6 additions and 0 deletions

View File

@ -1230,6 +1230,9 @@ PresShell::ClearFrameRefs(nsIFrame* aFrame)
if (aFrame == mFocusEventFrame) {
mFocusEventFrame = nsnull;
}
if (aFrame == mAnchorEventFrame) {
mAnchorEventFrame = nsnull;
}
return NS_OK;
}

View File

@ -1230,6 +1230,9 @@ PresShell::ClearFrameRefs(nsIFrame* aFrame)
if (aFrame == mFocusEventFrame) {
mFocusEventFrame = nsnull;
}
if (aFrame == mAnchorEventFrame) {
mAnchorEventFrame = nsnull;
}
return NS_OK;
}