Index: Source/core/html/HTMLTextFormControlElement.h |
diff --git a/Source/core/html/HTMLTextFormControlElement.h b/Source/core/html/HTMLTextFormControlElement.h |
index 906661dfbc87adbeddf081002595d84ecfed4abc..cbc6f00e6575fa73c1e4c5690f49e8bd95175c1d 100644 |
--- a/Source/core/html/HTMLTextFormControlElement.h |
+++ b/Source/core/html/HTMLTextFormControlElement.h |
@@ -77,8 +77,8 @@ public: |
void select(NeedToDispatchSelectEvent = DispatchSelectEvent); |
virtual void setRangeText(const String& replacement, ExceptionState&); |
virtual void setRangeText(const String& replacement, unsigned start, unsigned end, const String& selectionMode, ExceptionState&); |
- void setSelectionRange(int start, int end, const String& direction); |
- void setSelectionRange(int start, int end, TextFieldSelectionDirection = SelectionHasNoDirection, NeedToDispatchSelectEvent = DispatchSelectEvent, SelectionOption = ChangeSelection); |
+ void setSelectionRange(unsigned start, unsigned end, const String& direction); |
+ void setSelectionRange(unsigned start, unsigned end, TextFieldSelectionDirection = SelectionHasNoDirection, NeedToDispatchSelectEvent = DispatchSelectEvent, SelectionOption = ChangeSelection); |
PassRefPtrWillBeRawPtr<Range> selection() const; |
virtual bool supportsAutocapitalize() const = 0; |