Fix dropped callback in SpellCheckHostChromeImpl
r683358 introduced a bug where in a SpellCheckHost.CallSpellingService message response callback may be dropped without being called whenever the source render process has been terminated. That can result in a DCHECK being hit in testing environments but is otherwise harmless. This CL fixes the issue by ensuring that the response callback gets called in the case where the process has been terminated. Bug: 977637 Change-Id: I6d815be3cad8199c7f8bef27ac10f322b217f881 Tbr: thestig@chromium.org Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732678Reviewed-by:Ken Rockot <rockot@google.com> Commit-Queue: Ken Rockot <rockot@google.com> Cr-Commit-Position: refs/heads/master@{#683506}
Showing
Please register or sign in to comment