зеркало из https://github.com/mozilla/pjs.git
one more time for the short bus.
This commit is contained in:
Родитель
67ff86ecc7
Коммит
9944eb10de
|
@ -312,7 +312,7 @@ NS_IMETHODIMP nsWidget::Destroy(void)
|
|||
// 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);
|
||||
if ( this == rollupWidget.get() ) {
|
||||
if ( NS_REINTERPRET_CAST(this,nsIWidget*) == rollupWidget.get() ) {
|
||||
if ( gRollupListener )
|
||||
gRollupListener->Rollup();
|
||||
gRollupWidget = nsnull;
|
||||
|
|
Загрузка…
Ссылка в новой задаче