nsRefPtr<txStylesheetSink> sink = new txStylesheetSink(compiler); NS_ENSURE_TRUE(sink, NS_ERROR_OUT_OF_MEMORY);  return observer->startLoad(aUri, sink, aReferrerUri);
return observer->startLoad(aUri, compiler, aReferrerUri);
TX_LoadSheet(nsIURI* aUri, txMozillaXSLTProcessor* aProcessor,             nsILoadGroup* aLoadGroup, nsIURI* aReferrerUri){    nsCAutoString uri;    aUri->GetSpec(uri);    PR_LOG(txLog::xslt, PR_LOG_ALWAYS, ("TX_LoadSheet: %s\n", uri.get()));    nsRefPtr<txCompileObserver> observer =        new txCompileObserver(aProcessor, aLoadGroup);    NS_ENSURE_TRUE(observer, NS_ERROR_OUT_OF_MEMORY);    nsRefPtr<txStylesheetCompiler> compiler =        new txStylesheetCompiler(NS_ConvertUTF8toUCS2(uri), observer);    NS_ENSURE_TRUE(compiler, NS_ERROR_OUT_OF_MEMORY);    nsRefPtr<txStylesheetSink> sink = new txStylesheetSink(compiler);    NS_ENSURE_TRUE(sink, NS_ERROR_OUT_OF_MEMORY);    return observer->startLoad(aUri, sink, aReferrerUri);}