Index: Source/core/html/HTMLInputElement.h |
diff --git a/Source/core/html/HTMLInputElement.h b/Source/core/html/HTMLInputElement.h |
index 5623953e2440ba9d7c0607f58e5944798daf79c2..dc2c57d723a6d0a94e58b26dfc4b6e685d67f357 100644 |
--- a/Source/core/html/HTMLInputElement.h |
+++ b/Source/core/html/HTMLInputElement.h |
@@ -90,12 +90,6 @@ public: |
// Returns true if the type is email, number, password, search, tel, text, |
// or url. |
bool isTextField() const; |
- // Returns true if the type is email, password, search, tel, text, or url. |
- // FIXME: It's highly likely that any call site calling this function should instead |
- // be using a different one. Many input elements behave like text fields, and in addition |
- // any unknown input type is treated as text. Consider, for example, isTextField or |
- // isTextField && !isPasswordField. |
- bool isText() const; |
bool checked() const { return m_isChecked; } |
void setChecked(bool, TextFieldEventBehavior = DispatchNoEvent); |
@@ -321,7 +315,6 @@ private: |
virtual bool isInRange() const OVERRIDE FINAL; |
virtual bool isOutOfRange() const OVERRIDE FINAL; |
- bool isTextType() const; |
bool tooLong(const String&, NeedsToCheckDirtyFlag) const; |
virtual bool supportsPlaceholder() const OVERRIDE FINAL; |