The send done event in the old send watcher can be NULL as it can be signaled in a nested sync channel
send scenario which yields control to the plugin before the quit task is processed. This is perfectly legit
and we should not attempt to StopWatching the send done watcher as it crashes.

I will work on a unit test for this in a subsequent CL.

TBR=jam

Review URL: http://codereview.chromium.org/279002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29000 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 42437980b6058c5916d3c3607df288339dd9467d
1 file changed
tree: 211bbca6c17c4c15681b5b1f5975ee729104f88d
  1. base/
  2. build/
  3. ipc/
  4. testing/