Bug 398895 - "about:bloat should only be built if trace-refcnt logging is built" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr=bzbarsky a1.9=sayrer]

This commit is contained in:
2007-10-12 21:03:49 -07:00
parent b00388ae90
commit 9a50292fa8
2 changed files with 8 additions and 1 deletions

View File

@@ -180,7 +180,9 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsSafeAboutProtocolHandler)
#ifdef NECKO_PROTOCOL_about
// about
#ifdef NS_BUILD_REFCNT_LOGGING
#include "nsAboutBloat.h"
#endif
#include "nsAboutCache.h"
#include "nsAboutCacheEntry.h"
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAboutCacheEntry)
@@ -1000,11 +1002,13 @@ static const nsModuleComponentInfo gNetModuleInfo[] = {
nsAboutBlank::Create
},
#ifdef NECKO_PROTOCOL_about
#ifdef NS_BUILD_REFCNT_LOGGING
{ "about:bloat",
NS_ABOUT_BLOAT_MODULE_CID,
NS_ABOUT_MODULE_CONTRACTID_PREFIX "bloat",
nsAboutBloat::Create
},
#endif
{ "about:cache",
NS_ABOUT_CACHE_MODULE_CID,
NS_ABOUT_MODULE_CONTRACTID_PREFIX "cache",