mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Release mode now compiles and links.
We are getting too many ifdef NS_DEBUG strings in the code and are ignoring them. We should stop doing this.
This commit is contained in:
parent
d31ee580dd
commit
bd613b3fd5
@ -3171,6 +3171,8 @@ nsBrowserWindow::DoSiteWalker()
|
||||
mApp->CreateSiteWalker(this);
|
||||
}
|
||||
|
||||
#endif NS_DEBUG
|
||||
|
||||
//-----------------------------------------------------
|
||||
//-- Menu Struct
|
||||
//-----------------------------------------------------
|
||||
@ -3234,6 +3236,7 @@ nsIMenuItem * CreateMenuItem(nsIMenu * aMenu, const nsString & aName, PRUint32 a
|
||||
return menuItem;
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------
|
||||
void CreateBrowserMenus(nsIMenuBar * aMenuBar)
|
||||
{
|
||||
@ -3325,6 +3328,7 @@ void CreateBrowserMenus(nsIMenuBar * aMenuBar)
|
||||
|
||||
}
|
||||
|
||||
//#endif // NS_DEBUG
|
||||
|
||||
//-----------------------------------------------------
|
||||
nsresult
|
||||
@ -3344,6 +3348,8 @@ nsBrowserWindow::CreateMenuBar(PRInt32 aWidth)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
|
||||
nsEventStatus
|
||||
nsBrowserWindow::DispatchDebugMenu(PRInt32 aID)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user