reduce some logging in debug builds. b=349651

This commit is contained in:
joshmoz%gmail.com 2006-09-06 17:35:02 +00:00
Родитель ecf6006409
Коммит 0731b188ef
1 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -345,12 +345,10 @@ nsresult nsCocoaWindow::StandardCreate(nsIWidget *aParent,
if (mWindowType != eWindowType_popup)
rect.origin.y -= ::GetMBarHeight();
#ifdef DEBUG
NSLog(@"Top-level window being created at Cocoa rect: %f, %f, %f, %f\n",
rect.origin.x, rect.origin.y, rect.size.width, rect.size.height);
#endif
// NSLog(@"Top-level window being created at Cocoa rect: %f, %f, %f, %f\n",
// rect.origin.x, rect.origin.y, rect.size.width, rect.size.height);
// create the window
mWindow = [[NSWindow alloc] initWithContentRect:rect styleMask:features
backing:NSBackingStoreBuffered defer:NO];