diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-29 22:38:34 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-29 22:38:34 +0000 |
commit | 884644c67127206e03e46a579eb00435fc2b4612 (patch) | |
tree | fb1f95050a7c25578d970ba420db7e7f58e67e87 | |
parent | a4f6ab6b26c720fe771e9eceda020a83ea4d5a03 (diff) | |
download | chromium_src-884644c67127206e03e46a579eb00435fc2b4612.zip chromium_src-884644c67127206e03e46a579eb00435fc2b4612.tar.gz chromium_src-884644c67127206e03e46a579eb00435fc2b4612.tar.bz2 |
Temporary CHECK version 2 in IPC::Channel::Send() to help track down crash.
TBR=sievers@chromium.org, cpu@chromium.org
BUG=357915
Review URL: https://codereview.chromium.org/218433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260399 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ipc/ipc_channel_posix.cc | 2 | ||||
-rw-r--r-- | ipc/ipc_channel_win.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc index 11b20ff..4b9dc62 100644 --- a/ipc/ipc_channel_posix.cc +++ b/ipc/ipc_channel_posix.cc @@ -527,6 +527,8 @@ bool Channel::ChannelImpl::ProcessOutgoingMessages() { } bool Channel::ChannelImpl::Send(Message* message) { + // TODO(vtl): Remove once bug resolved. + CHECK(message && message->data()) << "crbug.com/357915"; DVLOG(2) << "sending message @" << message << " on channel @" << this << " with type " << message->type() << " (" << output_queue_.size() << " in queue)"; diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc index d044ef1..606c03c 100644 --- a/ipc/ipc_channel_win.cc +++ b/ipc/ipc_channel_win.cc @@ -81,6 +81,8 @@ void Channel::ChannelImpl::Close() { } bool Channel::ChannelImpl::Send(Message* message) { + // TODO(vtl): Remove once bug resolved. + CHECK(message && message->data()) << "crbug.com/357915"; DCHECK(thread_check_->CalledOnValidThread()); DVLOG(2) << "sending message @" << message << " on channel @" << this << " with type " << message->type() |