mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 10:08:41 +00:00
r=mkaply, a=brendan Remove OS/2 debugging messages during bringup
This commit is contained in:
parent
6c84b182f2
commit
ab95b94e76
@ -78,7 +78,7 @@ void nsCanvas::RealDoCreate( HWND hwndP, nsWindow *aParent, const nsRect &aRect,
|
||||
nsWindow::RealDoCreate( hwndP, aParent, aRect, aHandleEventFunction,
|
||||
aContext, aAppShell, aInitData, hwndO);
|
||||
}
|
||||
#if DEBUG
|
||||
#if DEBUG_sobotka
|
||||
printf("\nIn nsCanvas::RealDoCreate aParent = 0x%lx\n", &aParent);
|
||||
printf(" hwndP = %lu\n", hwndP);
|
||||
printf(" hwnd0 = %lu\n", hwndO);
|
||||
|
@ -60,7 +60,7 @@ void nsFrameWindow::RealDoCreate( HWND hwndP, nsWindow *aParent,
|
||||
/* NS_ASSERTION( hwndP == HWND_DESKTOP && aParent == nsnull,
|
||||
"Attempt to create non-top-level frame"); */
|
||||
|
||||
#if DEBUG
|
||||
#if DEBUG_sobotka
|
||||
printf("\nIn nsFrameWindow::RealDoCreate:\n");
|
||||
printf(" hwndP = %lu\n", hwndP);
|
||||
printf(" aParent = 0x%lx\n", &aParent);
|
||||
|
@ -57,7 +57,7 @@
|
||||
inline nsresult
|
||||
nsresultForErrno(int err)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG_sobotka
|
||||
if (err)
|
||||
fprintf(stderr, "errno %d\n", err);
|
||||
#endif
|
||||
@ -114,7 +114,7 @@ private:
|
||||
|
||||
nsresult LoadStatCache() {
|
||||
if (stat((const char*)mPath, &mStatCache) == -1) {
|
||||
#ifdef DEBUG
|
||||
#ifdef DEBUG_sobotka
|
||||
fprintf(stderr, "stat(%s) failed; errno: %d\n", (const char *)mPath, errno);
|
||||
#endif
|
||||
return NS_ERROR_FAILURE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user