NS_NewMediaList(nsIMediaList** aInstancePtrResult) { return NS_NewMediaList(NS_LITERAL_STRING(""), aInstancePtrResult);
nsresult NS_NewMediaList(nsISupportsArray* aArray, nsICSSStyleSheet* aSheet, nsIMediaList** aInstancePtrResult) { NS_ASSERTION(aInstancePtrResult, "Null out param."); DOMMediaListImpl* medialist = new DOMMediaListImpl(aArray, NS_STATIC_CAST(CSSStyleSheetImpl*, aSheet)); *aInstancePtrResult = medialist; NS_ENSURE_TRUE(medialist, NS_ERROR_OUT_OF_MEMORY); NS_ADDREF(*aInstancePtrResult); return NS_OK;
NS_NewMediaList(nsIMediaList** aInstancePtrResult) {  return NS_NewMediaList(NS_LITERAL_STRING(""), aInstancePtrResult);}