Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 882662f2f642f8f380eb813e1460131e26dd9916..52708e7ed52580abfb23c300c8bd300f16118c49 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -551,7 +551,7 @@ bool HTMLInputElement::canStartSelection() const |
return HTMLTextFormControlElement::canStartSelection(); |
} |
-int HTMLInputElement::selectionStartForBinding(ExceptionState& exceptionState) const |
+unsigned HTMLInputElement::selectionStartForBinding(ExceptionState& exceptionState) const |
{ |
if (!m_inputType->supportsSelectionAPI()) { |
exceptionState.throwDOMException(InvalidStateError, "The input element's type ('" + m_inputType->formControlType() + "') does not support selection."); |
@@ -560,7 +560,7 @@ int HTMLInputElement::selectionStartForBinding(ExceptionState& exceptionState) c |
return HTMLTextFormControlElement::selectionStart(); |
} |
-int HTMLInputElement::selectionEndForBinding(ExceptionState& exceptionState) const |
+unsigned HTMLInputElement::selectionEndForBinding(ExceptionState& exceptionState) const |
{ |
if (!m_inputType->supportsSelectionAPI()) { |
exceptionState.throwDOMException(InvalidStateError, "The input element's type ('" + m_inputType->formControlType() + "') does not support selection."); |