summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLTextAreaElement.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <>2009-04-02 14:52:09 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-02 14:52:09 -0700
commit861f5d0e6e5b1fb34561cea7ba99ff55f73e089b (patch)
tree930015e48f8461ec48a378b91c9c306c79b372b3 /WebCore/html/HTMLTextAreaElement.cpp
parent96e9ae4f757089d51db4434bbdb3ab7e86111571 (diff)
downloadexternal_webkit-861f5d0e6e5b1fb34561cea7ba99ff55f73e089b.zip
external_webkit-861f5d0e6e5b1fb34561cea7ba99ff55f73e089b.tar.gz
external_webkit-861f5d0e6e5b1fb34561cea7ba99ff55f73e089b.tar.bz2
AI 144288: Remove an #ifdef ANDROID.... We no longer care what the selection of the textarea is on focus, since we set the selection before we edit it anyway.
Automated import of CL 144288
Diffstat (limited to 'WebCore/html/HTMLTextAreaElement.cpp')
-rw-r--r--WebCore/html/HTMLTextAreaElement.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/html/HTMLTextAreaElement.cpp b/WebCore/html/HTMLTextAreaElement.cpp
index 738c630..091718b 100644
--- a/WebCore/html/HTMLTextAreaElement.cpp
+++ b/WebCore/html/HTMLTextAreaElement.cpp
@@ -237,10 +237,6 @@ void HTMLTextAreaElement::updateFocusAppearance(bool restorePreviousSelection)
// This matches some browsers' behavior; see bug 11746 Comment #15.
// http://bugs.webkit.org/show_bug.cgi?id=11746#c15
setSelectionRange(0, 0);
-#ifdef ANDROID_SELECT_TEXT_AREAS
- // We need to select the entire text to match the platform text field.
- select();
-#endif
} else {
// Restore the cached selection. This matches other browsers' behavior.
setSelectionRange(m_cachedSelectionStart, m_cachedSelectionEnd);