Bug 541465 - Regression in nsDocument.cpp disables DocumentLeak NSPR logging module.

r=roc.
This commit is contained in:
Arisu 2010-02-03 01:21:12 +01:00
parent b85fed79a9
commit c0a8fbd321

View File

@ -46,6 +46,11 @@
* Base class for all our document implementations.
*/
#ifdef MOZ_LOGGING
// so we can get logging even in release builds
#define FORCE_PR_LOG 1
#endif
#include "prlog.h"
#include "plstr.h"
#include "prprf.h"
@ -184,13 +189,6 @@ static NS_DEFINE_CID(kDOMEventGroupCID, NS_DOMEVENTGROUP_CID);
// FOR CSP (autogenerated by xpidl)
#include "nsIContentSecurityPolicy.h"
#ifdef MOZ_LOGGING
// so we can get logging even in release builds
#define FORCE_PR_LOG 1
#endif
#include "prlog.h"
/* Keeps track of whether or not CSP is enabled */
static PRBool gCSPEnabled = PR_TRUE;