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:
@@ -33,6 +33,11 @@
|
||||
#ifdef MOZ_AIMM
|
||||
#include "aimm.h"
|
||||
#endif
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsAppShellLog, 0)
|
||||
#define PRINTF NS_LOG_PRINTF(nsAppShellLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsAppShellLog)
|
||||
|
||||
static NS_DEFINE_IID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
||||
static NS_DEFINE_CID(kTimerManagerCID, NS_TIMERMANAGER_CID);
|
||||
@@ -172,7 +177,7 @@ nsAppShell::GetNativeEvent(PRBool &aRealEvent, void *&aEvent)
|
||||
|
||||
#ifdef DEBUG_danm
|
||||
if (msg.message != WM_TIMER)
|
||||
printf("-> %d", msg.message);
|
||||
PRINTF("-> %d", msg.message);
|
||||
#endif
|
||||
|
||||
//#ifdef MOZ_AIMM // not need?
|
||||
|
||||
Reference in New Issue
Block a user