Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
This commit is contained in:
@@ -2917,7 +2917,7 @@ HTMLInputElement::Focus(ErrorResult& aError)
|
||||
// tab to the next one.
|
||||
nsIFrame* frame = GetPrimaryFrame();
|
||||
if (frame) {
|
||||
for (nsIFrame* childFrame = frame->GetFirstPrincipalChild();
|
||||
for (nsIFrame* childFrame = frame->PrincipalChildList().FirstChild();
|
||||
childFrame;
|
||||
childFrame = childFrame->GetNextSibling()) {
|
||||
// See if the child is a button control.
|
||||
|
||||
Reference in New Issue
Block a user