mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-31 21:21:08 +00:00
Bug 397744 Can't access to the third account and the local mail [@ nsXULTreeBuilder::RemoveMatchesFor(nsTreeRows::Subtree&)] r=neil,enndeakin
--HG-- extra : rebase_source : 9a7cb590fe9a185e829fd90ef5cc086b8531adef
This commit is contained in:
parent
c1221c9649
commit
047c090ce8
@ -1708,12 +1708,9 @@ nsXULTreeBuilder::CloseContainer(PRInt32 aIndex)
|
||||
|
||||
nsTreeRows::iterator iter = mRows[aIndex];
|
||||
|
||||
nsTreeRows::Subtree& subtree = *(iter->mSubtree);
|
||||
if (iter->mSubtree)
|
||||
RemoveMatchesFor(*iter->mSubtree);
|
||||
|
||||
RemoveMatchesFor(subtree);
|
||||
|
||||
// Update the view
|
||||
iter = mRows[aIndex];
|
||||
|
||||
PRInt32 count = mRows.GetSubtreeSizeFor(iter);
|
||||
mRows.RemoveSubtreeFor(iter);
|
||||
|
Loading…
Reference in New Issue
Block a user