TestParser: support --enable-perf-metrics with --disable-debug. b=286920 r+sr=dbaron

git-svn-id: svn://10.0.0.236/trunk@170930 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mats.palmgren%bredband.net
2005-03-20 23:54:24 +00:00
parent a28e37742c
commit ddb5c6e57a
3 changed files with 5 additions and 5 deletions

View File

@@ -56,14 +56,14 @@
#include "nsViewSourceHTML.h"
#endif
#ifdef NS_DEBUG
#if defined(NS_DEBUG) || defined(MOZ_PERF_METRICS)
#include "nsLoggingSink.h"
#include "nsExpatDriver.h"
#endif
//----------------------------------------------------------------------
#ifdef NS_DEBUG
#if defined(NS_DEBUG) || defined(MOZ_PERF_METRICS)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsLoggingSink)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsExpatDriver)
#endif
@@ -79,7 +79,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(CViewSourceHTML)
static const nsModuleComponentInfo gComponents[] = {
#ifdef NS_DEBUG
#if defined(NS_DEBUG) || defined(MOZ_PERF_METRICS)
{ "Logging sink", NS_LOGGING_SINK_CID, NULL, nsLoggingSinkConstructor },
{ "Expat Driver", NS_EXPAT_DRIVER_CID, NULL, nsExpatDriverConstructor },
#endif