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

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

Issue 1244443005: Patch 5: Implemented android message filter and platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@4_remove_mac_redundancies
Patch Set: Implemented Android spellchecker red underlining Created 5 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: chrome/renderer/spellchecker/spellcheck_provider.cc
diff --git a/chrome/renderer/spellchecker/spellcheck_provider.cc b/chrome/renderer/spellchecker/spellcheck_provider.cc
index 001484ede8d768cdd8c32737dfc2e14482d3c413..a9d51ea8b9164f7f6a1de3e3c9dde2ef39e2f017 100644
--- a/chrome/renderer/spellchecker/spellcheck_provider.cc
+++ b/chrome/renderer/spellchecker/spellcheck_provider.cc
@@ -270,10 +270,13 @@ void SpellCheckProvider::OnRespondTextCheck(
DCHECK(spellcheck_);
WebTextCheckingCompletion* completion =
text_check_completions_.Lookup(identifier);
- if (!completion)
+ if (!completion){
+ LOG(ERROR) << "DYLANKING In OnRespondTextCheck Early Return";
return;
+ }
text_check_completions_.Remove(identifier);
blink::WebVector<blink::WebTextCheckingResult> textcheck_results;
+ LOG(ERROR) << "DYLANKING In OnRespondTextCheck, Calling CreateTextCheckingResults";
spellcheck_->CreateTextCheckingResults(SpellCheck::DO_NOT_MODIFY,
0,
line,
« chrome/browser/spellchecker/spellcheck_platform_android.cc ('K') | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698