зеркало из https://github.com/mozilla/gecko-dev.git
Oops, fix the crash I just introduced.
This commit is contained in:
Родитель
306c1a8c87
Коммит
eba3699c64
|
@ -416,8 +416,8 @@ nsScrollbar::NativeCreate(nsIWidget *aParent,
|
|||
aAppShell, aToolkit, aInitData);
|
||||
|
||||
// Do we need to listen for resizes?
|
||||
PRBool listenForResizes;
|
||||
if (aNativeParent || aInitData->mListenForResizes)
|
||||
PRBool listenForResizes = PR_FALSE;
|
||||
if (aNativeParent || (aInitData && aInitData->mListenForResizes))
|
||||
listenForResizes = PR_TRUE;
|
||||
|
||||
// and do our common creation
|
||||
|
|
|
@ -1969,8 +1969,8 @@ nsWindow::NativeCreate(nsIWidget *aParent,
|
|||
aAppShell, aToolkit, aInitData);
|
||||
|
||||
// Do we need to listen for resizes?
|
||||
PRBool listenForResizes;
|
||||
if (aNativeParent || aInitData->mListenForResizes)
|
||||
PRBool listenForResizes = PR_FALSE;;
|
||||
if (aNativeParent || (aInitData && aInitData->mListenForResizes))
|
||||
listenForResizes = PR_TRUE;
|
||||
|
||||
// and do our common creation
|
||||
|
|
Загрузка…
Ссылка в новой задаче