Fix windows bustage. Why doesnt this file build on other platforms ?

This commit is contained in:
ramiro%netscape.com 1999-03-09 21:22:03 +00:00
parent 9fdbef5858
commit ac7fd2b3ee

View File

@ -240,11 +240,13 @@ void nsBrowserController::doUpdateToolbarState(void)
//----------------------------------------------------------------------
// Entry point to create nsBrowserController factory instances...
NS_DEF_FACTORY(BrowserController,nsBrowserController)
nsresult NS_NewBrowserControllerFactory(nsIFactory** aResult)
{
nsresult rv = NS_OK;
nsIFactory* inst = new nsFactory<nsBrowserController>();
nsIFactory* inst = new nsBrowserControllerFactory;
if (nsnull == inst) {
rv = NS_ERROR_OUT_OF_MEMORY;
}