From c07a68c81c8629eeba5525df3b0a826f964e04a6 Mon Sep 17 00:00:00 2001 From: "mark%moxienet.com" Date: Tue, 29 Aug 2006 15:31:07 +0000 Subject: [PATCH] Tree closed, backing out --- widget/src/mac/nsMacWindow.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/widget/src/mac/nsMacWindow.cpp b/widget/src/mac/nsMacWindow.cpp index c31a02afd7a..adfa548ba8d 100644 --- a/widget/src/mac/nsMacWindow.cpp +++ b/widget/src/mac/nsMacWindow.cpp @@ -1130,16 +1130,7 @@ NS_IMETHODIMP nsMacWindow::Show(PRBool aState) #endif } } - // Bug 345388: hiding windows using the async - // TransitionWindowWithOptions causes memory corruption on 10.3, even - // though the API is supported there. Only fade these windows out on - // 10.4 or later, which are able to handle it without corruption or - // crashing. - if (mWindowType == eWindowType_popup && transitionFunc -#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4 - && nsToolkit::OSXVersion() >= MAC_OS_X_VERSION_10_4_HEX -#endif - ) { + if (mWindowType == eWindowType_popup && transitionFunc) { mDeathGripDuringTransition = this; TransitionWindowOptions transitionOptions = { version : 0, duration : 0.2,