diff options
author | Leon Scroggins <> | 2009-04-02 14:52:09 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-04-02 14:52:09 -0700 |
commit | 861f5d0e6e5b1fb34561cea7ba99ff55f73e089b (patch) | |
tree | 930015e48f8461ec48a378b91c9c306c79b372b3 /WebCore/html/HTMLTextAreaElement.cpp | |
parent | 96e9ae4f757089d51db4434bbdb3ab7e86111571 (diff) | |
download | external_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.cpp | 4 |
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); |