null check to prevent crash reported by a few 0.2 talkbacks
git-svn-id: svn://10.0.0.236/trunk@131018 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f505719979
commit
d71c9f4edb
@ -556,6 +556,9 @@ nsFormFillController::AddFocusListener(nsIDOMWindow *aWindow)
|
||||
void
|
||||
nsFormFillController::RemoveFocusListener(nsIDOMWindow *aWindow)
|
||||
{
|
||||
if (!aWindow)
|
||||
return;
|
||||
|
||||
StopControllingInput();
|
||||
|
||||
nsCOMPtr<nsPIDOMWindow> privateDOMWindow(do_QueryInterface(aWindow));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user