mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Fix for a crash in the onchange handler of tree views on exit.
This commit is contained in:
parent
8479bc35a4
commit
bae84c1437
@ -265,3 +265,9 @@ void nsTreeFrame::FireChangeHandler(nsIPresContext& aPresContext)
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsTreeFrame::DeleteFrame(nsIPresContext& aPresContext)
|
||||
{
|
||||
ClearSelection(aPresContext);
|
||||
return nsTableFrame::DeleteFrame(aPresContext);
|
||||
}
|
||||
|
@ -41,6 +41,8 @@ public:
|
||||
|
||||
void FireChangeHandler(nsIPresContext& aPresContext);
|
||||
|
||||
NS_IMETHOD DeleteFrame(nsIPresContext& aPresContext);
|
||||
|
||||
protected:
|
||||
nsTreeFrame();
|
||||
virtual ~nsTreeFrame();
|
||||
|
Loading…
Reference in New Issue
Block a user