From 861f5d0e6e5b1fb34561cea7ba99ff55f73e089b Mon Sep 17 00:00:00 2001 From: Leon Scroggins <> Date: Thu, 2 Apr 2009 14:52:09 -0700 Subject: 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 --- WebCore/html/HTMLTextAreaElement.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'WebCore/html') 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); -- cgit v1.1