ipc: don't treat replies with the unblock flag set as regular messages

Old behavior would test should_unblock() before is_reply() so if both were set
but TryToUnblockListener wouldn't return true (the corresponding Send isn't on
top of the stack), it would queue the message as to be dispatched.
This restores the correct order.

BUG=122443
TEST=ipc_tests, in particular ReentrantReply


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

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


CrOS-Libchrome-Original-Commit: 9134cce6dc08d7e5962c228ecc1c5a1244e233ae
3 files changed
tree: 9cd6916d81856ce9b56226a1ecf0cef68f684ba1
  1. base/
  2. build/
  3. dbus/
  4. ipc/
  5. testing/
  6. third_party/