зеркало из https://github.com/mozilla/pjs.git
Fixing minor bug in command dispatcher.
This commit is contained in:
Родитель
1cf8797af8
Коммит
83740bbcf6
|
@ -196,8 +196,10 @@ XULCommandDispatcherImpl::AddCommand(nsIDOMElement* aElement)
|
|||
|
||||
if (!mFocusListeners) {
|
||||
mFocusListeners = new nsVoidArray();
|
||||
mFocusListeners->AppendElement((void*)aElement); // Weak ref to element.
|
||||
}
|
||||
|
||||
mFocusListeners->AppendElement((void*)aElement); // Weak ref to element.
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -196,8 +196,10 @@ XULCommandDispatcherImpl::AddCommand(nsIDOMElement* aElement)
|
|||
|
||||
if (!mFocusListeners) {
|
||||
mFocusListeners = new nsVoidArray();
|
||||
mFocusListeners->AppendElement((void*)aElement); // Weak ref to element.
|
||||
}
|
||||
|
||||
mFocusListeners->AppendElement((void*)aElement); // Weak ref to element.
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче