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:
@@ -110,6 +110,13 @@
|
||||
#include "nsContentPolicyUtils.h"
|
||||
|
||||
#include "nsWeakReference.h"//nshtmlelementfactory supports weak references
|
||||
#include "nslog.h"
|
||||
#undef PRLogModuleInfo
|
||||
#undef PR_NewLogModule
|
||||
|
||||
NS_IMPL_LOG(nsHTMLContentSinkLog)
|
||||
#define PRINTF NS_LOG_PRINTF(nsHTMLContentSinkLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsHTMLContentSinkLog)
|
||||
|
||||
#ifdef ALLOW_ASYNCH_STYLE_SHEETS
|
||||
const PRBool kBlockByDefault=PR_FALSE;
|
||||
@@ -1011,7 +1018,7 @@ GetOptionText(const nsIParserNode& aNode, nsString& aText)
|
||||
}
|
||||
nsAutoString x;
|
||||
char* y = aText.ToNewCString();
|
||||
printf("foo");
|
||||
PRINTF("foo");
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user