Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1161)

Unified Diff: third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp

Issue 2245543003: Removal of grammar-checking-related dead code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7f61bdb66ac6ecc949bf88af88bed4b098241885..4a124455cf74bb1daccf9337bf760aa901ad14f4 100644
--- a/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
+++ b/third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp
@@ -154,15 +154,6 @@ void SpellCheckerClientImpl::cancelAllPendingRequests()
m_webView->spellCheckClient()->cancelAllPendingRequests();
}
-void SpellCheckerClientImpl::checkGrammarOfString(const String& text, WTF::Vector<GrammarDetail>& details, int* badGrammarLocation, int* badGrammarLength)
-{
- if (badGrammarLocation)
- *badGrammarLocation = -1;
- if (badGrammarLength)
- *badGrammarLength = 0;
- return;
-}
-
void SpellCheckerClientImpl::updateSpellingUIWithMisspelledWord(const String& misspelledWord)
{
if (m_webView->spellCheckClient())

Powered by Google App Engine
This is Rietveld 408576698