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:
@@ -44,6 +44,12 @@
|
||||
#include "winbase.h"
|
||||
#endif
|
||||
|
||||
#include "nslog.h"
|
||||
|
||||
NS_IMPL_LOG(nsPluginInstancePeerLog, 0)
|
||||
#define PRINTF NS_LOG_PRINTF(nsPluginInstancePeerLog)
|
||||
#define FLUSH NS_LOG_FLUSH(nsPluginInstancePeerLog)
|
||||
|
||||
nsPluginInstancePeerImpl::nsPluginInstancePeerImpl()
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
@@ -126,7 +132,7 @@ nsresult nsPluginInstancePeerImpl::QueryInterface(const nsIID& iid, void** insta
|
||||
|
||||
NS_IMETHODIMP nsPluginInstancePeerImpl::GetValue(nsPluginInstancePeerVariable variable, void *value)
|
||||
{
|
||||
printf("instance peer getvalue %d called\n", variable);
|
||||
PRINTF("instance peer getvalue %d called\n", variable);
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
@@ -226,7 +232,7 @@ nsPluginStreamToFile::nsPluginStreamToFile(const char* target, nsIPluginInstance
|
||||
// construct the URL we'll use later in calls to GetURL()
|
||||
mFileURL = mFileSpec;
|
||||
|
||||
printf("File URL = %s\n", mFileURL.GetAsString());
|
||||
PRINTF("File URL = %s\n", mFileURL.GetAsString());
|
||||
}
|
||||
|
||||
nsPluginStreamToFile::~nsPluginStreamToFile()
|
||||
@@ -833,7 +839,7 @@ NS_IMETHODIMP nsPluginInstancePeerImpl::GetMayScript(PRBool *result)
|
||||
|
||||
NS_IMETHODIMP nsPluginInstancePeerImpl::SetWindowSize(PRUint32 width, PRUint32 height)
|
||||
{
|
||||
printf("instance peer setwindowsize called\n");
|
||||
PRINTF("instance peer setwindowsize called\n");
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user