Index: Source/core/html/HTMLSelectElement.h |
diff --git a/Source/core/html/HTMLSelectElement.h b/Source/core/html/HTMLSelectElement.h |
index 586efb5b55d822b724b3cf0c8365f864cd3a5824..8d6e770c72c87489602904412e9a605b87812e74 100644 |
--- a/Source/core/html/HTMLSelectElement.h |
+++ b/Source/core/html/HTMLSelectElement.h |
@@ -62,7 +62,7 @@ public: |
unsigned length() const; |
- int size() const { return m_size; } |
+ unsigned size() const { return m_size; } |
bool multiple() const { return m_multiple; } |
bool usesMenuList() const; |
@@ -93,7 +93,7 @@ public: |
void setMultiple(bool); |
- void setSize(int); |
+ void setSize(unsigned); |
void setOption(unsigned index, HTMLOptionElement*, ExceptionState&); |
void setLength(unsigned, ExceptionState&); |
@@ -221,7 +221,7 @@ private: |
Vector<bool> m_lastOnChangeSelection; |
Vector<bool> m_cachedStateForActiveSelection; |
TypeAhead m_typeAhead; |
- int m_size; |
+ unsigned m_size; |
int m_lastOnChangeIndex; |
int m_activeSelectionAnchorIndex; |
int m_activeSelectionEndIndex; |