Bug 1456588 part 2. Change nsIFocusManager::MoveFocus to take Element. r=enndeakin

This commit is contained in:
Boris Zbarsky
2018-04-26 10:37:47 -04:00
parent 45892dfa49
commit eb633469bd
16 changed files with 27 additions and 34 deletions

View File

@@ -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));