зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
8db17c55a0
Коммит
36ea816dac
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче