void nsListBoxObject::Clear() { ClearCachedValues(); nsBoxObject::Clear(); }
void nsTreeBoxObject::Clear() { ClearCachedValues(); // Drop the view's ref to us. if (mView) { nsCOMPtr<nsITreeSelection> sel; mView->GetSelection(getter_AddRefs(sel)); if (sel) sel->SetTree(nsnull); mView->SetTree(nsnull); // Break the circular ref between the view and us. } mView = nsnull; nsBoxObject::Clear(); }
void ListBoxObject::Clear() { ClearCachedValues(); BoxObject::Clear(); }