mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 05:15:09 +00:00
Fix windows bustage. Why doesnt this file build on other platforms ?
This commit is contained in:
parent
9fdbef5858
commit
ac7fd2b3ee
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user