summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2018-07-01 17:32:30 +0200
committerPale Moon <git-repo@palemoon.org>2018-07-01 17:32:30 +0200
commit54887c52d77420a20cd326a1137bd9d6b64219a3 (patch)
tree904fb3248e2d0345113337bf04360938f534254f
parent8b999f2be31cc244afa50f122ff34663c8243b1e (diff)
downloadpalemoon-gre-54887c52d77420a20cd326a1137bd9d6b64219a3.tar.gz
Fix typo (RefPtr -> nsRefPtr)
-rw-r--r--dom/html/HTMLInputElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp
index 06e84956f..bd839f493 100644
--- a/dom/html/HTMLInputElement.cpp
+++ b/dom/html/HTMLInputElement.cpp
@@ -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);