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

Unified Diff: chrome/renderer/spellchecker/spellcheck_provider.cc

Issue 10155006: Cancel unnecessary spellcheck requests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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: chrome/renderer/spellchecker/spellcheck_provider.cc
===================================================================
--- chrome/renderer/spellchecker/spellcheck_provider.cc (revision 133081)
+++ chrome/renderer/spellchecker/spellcheck_provider.cc (working copy)
@@ -88,7 +88,7 @@
string16 line;
int offset = -1;
if (!GetRequestLine(text, &line, &offset)) {
- completion->didFinishCheckingText(std::vector<WebTextCheckingResult>());
+ completion->didCancelCheckingText();
return;
}
« no previous file with comments | « chrome/renderer/spellchecker/spellcheck.cc ('k') | chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698