Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
This commit is contained in:
@@ -81,11 +81,7 @@ static NS_DEFINE_CID(kPrefCID, NS_PREF_CID);
|
||||
#include "plstr.h"
|
||||
|
||||
#include "prmem.h"
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsViewSourceHTMLLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsViewSourceHTMLLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsViewSourceHTMLLog)
|
||||
|
||||
#ifdef RAPTOR_PERF_METRICS
|
||||
#include "stopwatch.h"
|
||||
@@ -646,9 +642,9 @@ NS_IMETHODIMP CViewSourceHTML::DidBuildModel(nsresult anErrorCode,PRBool aNotify
|
||||
|
||||
#ifdef RAPTOR_PERF_METRICS
|
||||
NS_STOP_STOPWATCH(vsTimer);
|
||||
PRINTF("viewsource timer: ");
|
||||
printf("viewsource timer: ");
|
||||
vsTimer.Print();
|
||||
PRINTF("\n");
|
||||
printf("\n");
|
||||
#endif
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user