Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman
This commit is contained in:
@@ -129,7 +129,10 @@ nsListControlFrame::~nsListControlFrame()
|
||||
reciever->RemoveEventListenerByIID((nsIDOMKeyListener *)this, kIDOMKeyListenerIID);
|
||||
|
||||
mComboboxFrame = nsnull;
|
||||
mFormFrame = nsnull;
|
||||
if (mFormFrame) {
|
||||
mFormFrame->RemoveFormControlFrame(*this);
|
||||
mFormFrame = nsnull;
|
||||
}
|
||||
NS_IF_RELEASE(mPresContext);
|
||||
if (mSelectionCache) {
|
||||
delete[] mSelectionCache;
|
||||
|
||||
Reference in New Issue
Block a user