backing out addition so we can figure out why it doesn't compile.

This commit is contained in:
pinkerton%netscape.com 2001-05-25 22:38:58 +00:00
parent 4d9c8e7acf
commit e91a8af6cd

View File

@ -309,6 +309,7 @@ NS_IMETHODIMP nsWidget::Destroy(void)
// are released
nsBaseWidget::Destroy();
#if SHORTBUS
// just to be safe. If we're going away and for some reason we're still
// the rollup widget, rollup and turn off capture.
nsCOMPtr<nsIWidget> rollupWidget = do_QueryReferent(gRollupWidget);
@ -318,6 +319,7 @@ NS_IMETHODIMP nsWidget::Destroy(void)
gRollupWidget = nsnull;
gRollupListener = nsnull;
}
#endif
// destroy our native windows
DestroyNative();