Index: Source/web/EditorClientImpl.cpp |
diff --git a/Source/web/EditorClientImpl.cpp b/Source/web/EditorClientImpl.cpp |
index 3f0ec5ee5f751dd484bbeb586ed9604344b572e7..7b1741f745c17796b0a3682855d928f09c418d0a 100644 |
--- a/Source/web/EditorClientImpl.cpp |
+++ b/Source/web/EditorClientImpl.cpp |
@@ -100,7 +100,7 @@ bool EditorClientImpl::isSelectTrailingWhitespaceEnabled() |
bool EditorClientImpl::shouldSpellcheckByDefault() |
{ |
// Spellcheck should be enabled for all editable areas (such as textareas, |
- // contentEditable regions, and designMode docs), except text inputs. |
+ // contentEditable regions, designMode docs and inputs). |
const Frame* frame = m_webView->focusedWebCoreFrame(); |
if (!frame) |
return false; |
@@ -125,7 +125,7 @@ bool EditorClientImpl::shouldSpellcheckByDefault() |
if (!renderer) |
return false; |
- return !renderer->isTextField(); |
+ return true; |
} |
bool EditorClientImpl::isContinuousSpellCheckingEnabled() |