зеркало из https://github.com/mozilla/pjs.git
reduce some logging in debug builds. b=349651
This commit is contained in:
Родитель
ecf6006409
Коммит
0731b188ef
|
@ -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];
|
||||
|
|
Загрузка…
Ссылка в новой задаче