| Index: third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp b/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
|
| index 4a124455cf74bb1daccf9337bf760aa901ad14f4..25fdf7a0fe8f3187747411f4779ddcbf55573857 100644
|
| --- a/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
|
| @@ -80,7 +80,7 @@ bool SpellCheckerClientImpl::shouldSpellcheckByDefault()
|
| return true;
|
| }
|
|
|
| -bool SpellCheckerClientImpl::isContinuousSpellCheckingEnabled()
|
| +bool SpellCheckerClientImpl::isSpellCheckingEnabled()
|
| {
|
| if (m_spellCheckThisFieldStatus == SpellCheckForcedOff)
|
| return false;
|
| @@ -89,9 +89,9 @@ bool SpellCheckerClientImpl::isContinuousSpellCheckingEnabled()
|
| return shouldSpellcheckByDefault();
|
| }
|
|
|
| -void SpellCheckerClientImpl::toggleContinuousSpellChecking()
|
| +void SpellCheckerClientImpl::toggleSpellCheckingEnabled()
|
| {
|
| - if (isContinuousSpellCheckingEnabled()) {
|
| + if (isSpellCheckingEnabled()) {
|
| m_spellCheckThisFieldStatus = SpellCheckForcedOff;
|
| if (Page* page = m_webView->page()) {
|
| for (Frame* frame = page->mainFrame(); frame; frame = frame->tree().traverseNext()) {
|
|
|