mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
r=mkaply, a=brendan OS/2 bringup - Need to increment appshell refcount to prevent crash
This commit is contained in:
parent
7bcfca3c30
commit
ff5f81fb66
@ -352,7 +352,8 @@ void nsWindow::RealDoCreate( HWND hwndP,
|
||||
|
||||
// Record passed in things
|
||||
mAppShell = aAppShell;
|
||||
// OS2TODO - build break 6/16/00 due to nsCOMPtr changes NS_IF_ADDREF( mAppShell);
|
||||
// NS_IF_ADDREF( mAppShell);
|
||||
GetAppShell(); // Let the base widget class update the refcount for us....
|
||||
mEventCallback = aHandleEventFunction;
|
||||
|
||||
if( mParent)
|
||||
|
Loading…
Reference in New Issue
Block a user