зеркало из https://github.com/mozilla/gecko-dev.git
null check to prevent crash reported by a few 0.2 talkbacks
This commit is contained in:
Родитель
a0d20b1e0f
Коммит
8d61b84fe4
|
@ -556,6 +556,9 @@ nsFormFillController::AddFocusListener(nsIDOMWindow *aWindow)
|
|||
void
|
||||
nsFormFillController::RemoveFocusListener(nsIDOMWindow *aWindow)
|
||||
{
|
||||
if (!aWindow)
|
||||
return;
|
||||
|
||||
StopControllingInput();
|
||||
|
||||
nsCOMPtr<nsPIDOMWindow> privateDOMWindow(do_QueryInterface(aWindow));
|
||||
|
|
Загрузка…
Ссылка в новой задаче