Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.

git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
2000-10-28 22:17:53 +00:00
parent b60d205909
commit a8b9664a8c
766 changed files with 8258 additions and 10800 deletions

View File

@@ -68,11 +68,6 @@
#include "nsMimeTypes.h"
#include "nsObjectFrame.h"
#include "nslog.h"
NS_IMPL_LOG(nsObjectFrameLog)
#define PRINTF NS_LOG_PRINTF(nsObjectFrameLog)
#define FLUSH NS_LOG_FLUSH(nsObjectFrameLog)
static NS_DEFINE_IID(kIDOMMouseListenerIID, NS_IDOMMOUSELISTENER_IID);
@@ -2164,7 +2159,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetDocumentBase(const char* *result)
NS_IMETHODIMP nsPluginInstanceOwner::GetDocumentEncoding(const char* *result)
{
PRINTF("instance owner getdocumentencoding called\n");
printf("instance owner getdocumentencoding called\n");
return NS_ERROR_FAILURE;
}
@@ -2797,7 +2792,7 @@ static void GetWidgetPosAndClip(nsIWidget* aWidget,nscoord& aAbsX, nscoord& aAbs
widget = getter_AddRefs(widget->GetParent());
if (widget == nsnull) {
// Don't include the top-level windows offset
// PRINTF("Top level window offset %d %d\n", wx, wy);
// printf("Top level window offset %d %d\n", wx, wy);
aAbsX -= wx;
aAbsY -= wy;
}
@@ -2808,9 +2803,9 @@ static void GetWidgetPosAndClip(nsIWidget* aWidget,nscoord& aAbsX, nscoord& aAbs
aClipRect.x += aAbsX;
aClipRect.y += aAbsY;
//PRINTF("--------------\n");
//PRINTF("Widget clip X %d Y %d rect %d %d %d %d\n", aAbsX, aAbsY, aClipRect.x, aClipRect.y, aClipRect.width, aClipRect.height );
//PRINTF("--------------\n");
//printf("--------------\n");
//printf("Widget clip X %d Y %d rect %d %d %d %d\n", aAbsX, aAbsY, aClipRect.x, aClipRect.y, aClipRect.width, aClipRect.height );
//printf("--------------\n");
}