Mojo: Small fixes/cleanup to MessageInTransit, before I factor out the secondary buffer.

I'm making these changes as I write the factored-out secondary buffer in
parallel, but it's probably to review these changes now rather than as a
part of the move/refactor.

Notable changes:
* Use the actual size for the secondary buffer, rather than the
  estimated size. (Probably this makes no difference now.)
* Discard the dispatchers earlier (in SerializeAndCloseDispatchers()).

R=darin@chromium.org

Review URL: https://codereview.chromium.org/260823002

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


CrOS-Libchrome-Original-Commit: fdfd21c22bd7c7f96e0fee37931eba5249ef572a
2 files changed
tree: f2ba4ec61fd0435d3e64a71dfaf72b5c0823045b
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/