one more time for the short bus.
git-svn-id: svn://10.0.0.236/trunk@95935 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5da023ee7d
commit
fdc0122f33
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user