Bug 1438470 - Port bug 1437654 to mailnews: Remove call to nsITreeBoxObject::SetView(). rs=bustage-fix

This commit is contained in:
Jorg K 2018-02-15 11:53:25 +01:00
Родитель 490389a4ea
Коммит 71f21ed0f4
1 изменённых файлов: 0 добавлений и 3 удалений

Просмотреть файл

@ -59,8 +59,6 @@ NS_IMETHODIMP nsAbView::ClearView()
{
mDirectory = nullptr;
mAbViewListener = nullptr;
if (mTree)
mTree->SetView(nullptr);
mTree = nullptr;
mTreeSelection = nullptr;
@ -171,7 +169,6 @@ NS_IMETHODIMP nsAbView::SetView(nsIAbDirectory *aAddressBook,
{
// Try and speed deletion of old cards by disconnecting the tree from us.
mTreeSelection->ClearSelection();
mTree->SetView(nullptr);
}
// Clear out old cards