зеркало из https://github.com/mozilla/pjs.git
Bug 257746 nsWindow::StandardWindowCreate should return failure when it can't create a window
patch by Chris Thomas (CTho) <cst@andrew.cmu.edu> r=ere sr=roc
This commit is contained in:
Родитель
97d2d78578
Коммит
dbdbd2208d
|
@ -1518,8 +1518,8 @@ nsWindow::StandardWindowCreate(nsIWidget *aParent,
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
VERIFY(mWnd);
|
if (!mWnd)
|
||||||
|
return NS_ERROR_FAILURE;
|
||||||
|
|
||||||
/*mNativeDragTarget = new nsNativeDragTarget(this);
|
/*mNativeDragTarget = new nsNativeDragTarget(this);
|
||||||
if (NULL != mNativeDragTarget) {
|
if (NULL != mNativeDragTarget) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче