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..2c77b86f8142a4a36bc8f6307bc4bdf5bf31ed6b 100644 |
--- a/chrome/renderer/spellchecker/spellcheck_provider.cc |
+++ b/chrome/renderer/spellchecker/spellcheck_provider.cc |
@@ -65,8 +65,10 @@ void SpellCheckProvider::RequestTextChecking( |
} |
// Try to satisfy check from cache. |
- if (SatisfyRequestFromCache(text, completion)) |
+ if (SatisfyRequestFromCache(text, completion)){ |
+ LOG(ERROR) << "DYLANKING Cache Hit"; |
return; |
+ } |
// Send this text to a browser. A browser checks the user profile and send |
// this text to the Spelling service only if a user enables this feature. |
@@ -270,10 +272,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, |