Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -81,7 +81,11 @@ 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"
|
||||
@@ -642,9 +646,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