mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 14:28:42 +00:00
Bug 340272 Ensure that tree.columns is always initialised r=enn sr=roc
This commit is contained in:
parent
de277db377
commit
6d455d682f
@ -592,6 +592,7 @@ nsTreeBodyFrame::GetTreeBody(nsIDOMElement** aElement)
|
||||
NS_IMETHODIMP
|
||||
nsTreeBodyFrame::GetColumns(nsITreeColumns** aColumns)
|
||||
{
|
||||
EnsureBoxObject();
|
||||
NS_IF_ADDREF(*aColumns = mColumns);
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user