Backout Bug 1351860, r=backout

This commit is contained in:
Olli Pettay
2017-03-31 16:55:32 -04:00
parent b9520e8c63
commit 694b05ce02
37 changed files with 76 additions and 69 deletions

View File

@@ -1979,7 +1979,7 @@ nsTextEditorState::GetParentNumberControl(nsFrame* aFrame) const
// that situation, the type of the control has changed, but its frame has
// not been reconstructed yet. So we need to check the type of the input
// control in addition to the type of the frame.
return (input->ControlType() == NS_FORM_INPUT_NUMBER) ? input : nullptr;
return (input->GetType() == NS_FORM_INPUT_NUMBER) ? input : nullptr;
}
return nullptr;