зеркало из https://github.com/mozilla/gecko-dev.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:
Родитель
b3cab51db0
Коммит
38667d5d48
|
@ -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) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче