summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp')
-rw-r--r--Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp b/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp
index 9ec3cc141..d56606e58 100644
--- a/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp
+++ b/Source/WebKit2/UIProcess/efl/TextCheckerEfl.cpp
@@ -93,11 +93,7 @@ void TextChecker::setGrammarCheckingEnabled(bool isGrammarCheckingEnabled)
void TextChecker::continuousSpellCheckingEnabledStateChanged(bool enabled)
{
-#if ENABLE(SPELLCHECK)
- textCheckerState.isContinuousSpellCheckingEnabled = enabled;
-#else
- UNUSED_PARAM(enabled);
-#endif
+ TextChecker::setContinuousSpellCheckingEnabled(enabled);
}
void TextChecker::grammarCheckingEnabledStateChanged(bool enabled)