Mojo Spy: Fix a couple of bugs noticed by vtl@ and qsr@
commitf951ee8b1c9c99577e32f65665d4a10ea855d80f
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Apr 2014 21:42:58 +0000 (10 21:42 +0000)
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Apr 2014 21:42:58 +0000 (10 21:42 +0000)
tree19868f6cd5d44e055b000ffa30f4ae63e726551f
parent6c48ea863a04826802081f4a9056f548b723c6fb
Mojo Spy: Fix a couple of bugs noticed by vtl@ and qsr@

On WriteMessageRaw failure we own the handles, which we might
want to log or keep but for correctness now we just close.

BUG=none
TBR=viettrungluu
TEST=none

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

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