Index: Source/core/html/HTMLTextFormControlElement.cpp |
diff --git a/Source/core/html/HTMLTextFormControlElement.cpp b/Source/core/html/HTMLTextFormControlElement.cpp |
index 47ccffe82571ab80dbc43f21e420f9ca05025b46..11bcdf648014e6c5354c5c025fcd54db5840632e 100644 |
--- a/Source/core/html/HTMLTextFormControlElement.cpp |
+++ b/Source/core/html/HTMLTextFormControlElement.cpp |
@@ -182,13 +182,6 @@ void HTMLTextFormControlElement::select() |
setSelectionRange(0, numeric_limits<int>::max(), SelectionHasNoDirection); |
} |
-String HTMLTextFormControlElement::selectedText() const |
-{ |
- if (!isTextFormControl()) |
- return String(); |
- return value().substring(selectionStart(), selectionEnd() - selectionStart()); |
-} |
- |
void HTMLTextFormControlElement::dispatchFormControlChangeEvent() |
{ |
if (m_textAsOfLastFormControlChangeEvent != value()) { |