mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 444466 – Crash [@ nsTextControlFrame::PreDestroy()], r+sr=bz
This commit is contained in:
parent
6f0fa2d6a8
commit
64491786fd
@ -1131,10 +1131,10 @@ nsTextControlFrame::PreDestroy()
|
||||
}
|
||||
|
||||
//unregister self from content
|
||||
mTextListener->SetFrame(nsnull);
|
||||
nsFormControlFrame::RegUnRegAccessKey(static_cast<nsIFrame*>(this), PR_FALSE);
|
||||
if (mTextListener)
|
||||
{
|
||||
mTextListener->SetFrame(nsnull);
|
||||
if (mContent)
|
||||
{
|
||||
mContent->RemoveEventListenerByIID(static_cast<nsIDOMFocusListener *>(mTextListener), NS_GET_IID(nsIDOMFocusListener));
|
||||
|
Loading…
Reference in New Issue
Block a user