Fix nullptr dereference in WebMessagePortChannelImpl
commitd0a1097980ef64232357be8443f2987643cf40cb
authorrockot <rockot@chromium.org>
Sat, 18 Jul 2015 01:52:34 +0000 (17 18:52 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 18 Jul 2015 01:53:06 +0000 (18 01:53 +0000)
treec78273b56e8a2d1a084fbcca470d14f0f8b0f0d6
parent5af8a4d2402ed7f107eeb172f9ac44c51fec243d
Fix nullptr dereference in WebMessagePortChannelImpl

This prevents OnMessageAvailable from using its channel
client interface after it's been torn down by Blink.

BUG=510965
R=jam@chromium.org
CC=erg@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#339378}
components/message_port/web_message_port_channel_impl.cc