Fix typo (RefPtr -> nsRefPtr)

This commit is contained in:
Pale Moon
2018-07-01 17:32:30 +02:00
committed by Roy Tam
parent 114f96a47d
commit de451f0cf6
+1 -1
View File
@@ -3191,7 +3191,7 @@ HTMLInputElement::Focus(ErrorResult& aError)
nsNumberControlFrame* numberControlFrame =
do_QueryFrame(GetPrimaryFrame());
if (numberControlFrame) {
RefPtr<HTMLInputElement> textControl =
nsRefPtr<HTMLInputElement> textControl =
numberControlFrame->GetAnonTextControl();
if (textControl) {
textControl->Focus(aError);