summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSHTMLInputElementCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSHTMLInputElementCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSHTMLInputElementCustom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/bindings/js/JSHTMLInputElementCustom.cpp b/WebCore/bindings/js/JSHTMLInputElementCustom.cpp
index f097e1e..d59ef92 100644
--- a/WebCore/bindings/js/JSHTMLInputElementCustom.cpp
+++ b/WebCore/bindings/js/JSHTMLInputElementCustom.cpp
@@ -51,7 +51,7 @@ bool JSHTMLInputElement::customGetOwnPropertySlot(ExecState* exec, const Identif
return false;
}
-JSValue* JSHTMLInputElement::selectionStart(ExecState* exec) const
+JSValuePtr JSHTMLInputElement::selectionStart(ExecState* exec) const
{
HTMLInputElement* input = static_cast<HTMLInputElement*>(impl());
if (!input->canHaveSelection())
@@ -60,7 +60,7 @@ JSValue* JSHTMLInputElement::selectionStart(ExecState* exec) const
return jsNumber(exec, input->selectionStart());
}
-JSValue* JSHTMLInputElement::selectionEnd(ExecState* exec) const
+JSValuePtr JSHTMLInputElement::selectionEnd(ExecState* exec) const
{
HTMLInputElement* input = static_cast<HTMLInputElement*>(impl());
if (!input->canHaveSelection())