зеркало из https://github.com/mozilla/pjs.git
Add missing 'return' in nsDocAccessible::TakeFocus(). b=497867 r=marco.zehe
This commit is contained in:
Родитель
eb231c6785
Коммит
09831f3834
|
@ -380,10 +380,12 @@ NS_IMETHODIMP nsDocAccessible::TakeFocus()
|
|||
if (document) {
|
||||
// focus the document
|
||||
nsCOMPtr<nsIDOMElement> newFocus;
|
||||
fm->MoveFocus(document->GetWindow(), nsnull, nsIFocusManager::MOVEFOCUS_ROOT, 0,
|
||||
getter_AddRefs(newFocus));
|
||||
return fm->MoveFocus(document->GetWindow(), nsnull,
|
||||
nsIFocusManager::MOVEFOCUS_ROOT, 0,
|
||||
getter_AddRefs(newFocus));
|
||||
}
|
||||
}
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
// ------- nsIAccessibleDocument Methods (5) ---------------
|
||||
|
|
Загрузка…
Ссылка в новой задаче