NS_ADDREF(ChromeUIDataSource);
NS_NewChromeUIDataSource(nsIRDFDataSource* aComposite, nsIRDFDataSource** aResult){    NS_PRECONDITION(aResult != nsnull, "null ptr");    if (! aResult)        return NS_ERROR_NULL_POINTER;    nsChromeUIDataSource* ChromeUIDataSource = new nsChromeUIDataSource(aComposite);    if (ChromeUIDataSource == nsnull)        return NS_ERROR_OUT_OF_MEMORY;    NS_ADDREF(ChromeUIDataSource);    *aResult = ChromeUIDataSource;    return NS_OK;}