Seamonkey-only bustage from bug 347183 - I'm currently building a tree with this, but it should be right
git-svn-id: svn://10.0.0.236/trunk@235903 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4439,13 +4439,7 @@ nsBookmarksService::GetAllCmds(nsIRDFResource* source,
|
||||
// always append a separator last (due to aggregation of commands from multiple datasources)
|
||||
cmdArray->AppendElement(kNC_BookmarkSeparator);
|
||||
|
||||
nsISimpleEnumerator *result = new nsArrayEnumerator(cmdArray);
|
||||
if (!result)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
NS_ADDREF(result);
|
||||
*commands = result;
|
||||
return NS_OK;
|
||||
return NS_NewArrayEnumerator(commands, cmdArray);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user