Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
This commit is contained in:
@@ -88,6 +88,10 @@ nsFileControlFrame::~nsFileControlFrame()
|
||||
delete mCachedState;
|
||||
mCachedState = nsnull;
|
||||
}
|
||||
if (mFormFrame) {
|
||||
mFormFrame->RemoveFormControlFrame(*this);
|
||||
mFormFrame = nsnull;
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user