Bug 1456588 part 2. Change nsIFocusManager::MoveFocus to take Element. r=enndeakin
This commit is contained in:
@@ -107,7 +107,7 @@ HTMLLegendElement::Focus(ErrorResult& aError)
|
||||
return;
|
||||
}
|
||||
|
||||
nsCOMPtr<nsIDOMElement> result;
|
||||
RefPtr<Element> result;
|
||||
aError = fm->MoveFocus(nullptr, this, nsIFocusManager::MOVEFOCUS_FORWARD,
|
||||
nsIFocusManager::FLAG_NOPARENTFRAME,
|
||||
getter_AddRefs(result));
|
||||
|
||||
Reference in New Issue
Block a user