зеркало из https://github.com/mozilla/gecko-dev.git
This should have gone too, (bug 324738)
This commit is contained in:
Родитель
5e3b39b84e
Коммит
28a0057aa8
|
@ -138,27 +138,6 @@ nsresult CViewSourceHTML::QueryInterface(const nsIID& aIID, void** aInstancePtr)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is defined in nsIParser. It is used to
|
||||
* cause the COM-like construction of an nsParser.
|
||||
*
|
||||
* @update gess 4/8/98
|
||||
* @param nsIParser** ptr to newly instantiated parser
|
||||
* @return NS_xxx error result
|
||||
*/
|
||||
nsresult NS_NewViewSourceHTML(nsIDTD** aInstancePtrResult)
|
||||
{
|
||||
CViewSourceHTML* it = new CViewSourceHTML();
|
||||
|
||||
if (it == 0) {
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
NS_ADDREF(*aInstancePtrResult = it);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
NS_IMPL_ADDREF(CViewSourceHTML)
|
||||
NS_IMPL_RELEASE(CViewSourceHTML)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче