| Index: content/child/webmessageportchannel_impl.cc
|
| diff --git a/content/child/webmessageportchannel_impl.cc b/content/child/webmessageportchannel_impl.cc
|
| index fc6c8961f37a572c5905015ad618518cb905ccd0..c3de36fbeae7897e826edb5e4ac24f3b7a3d3705 100644
|
| --- a/content/child/webmessageportchannel_impl.cc
|
| +++ b/content/child/webmessageportchannel_impl.cc
|
| @@ -165,6 +165,8 @@ void WebMessagePortChannelImpl::Init() {
|
| DCHECK(message_port_id_ == MSG_ROUTING_NONE);
|
| Send(new MessagePortHostMsg_CreateMessagePort(
|
| &route_id_, &message_port_id_));
|
| + } else if (message_port_id_ != MSG_ROUTING_NONE) {
|
| + Send(new MessagePortHostMsg_ReleaseMessages(message_port_id_));
|
| }
|
|
|
| ChildThread::current()->GetRouter()->AddRoute(route_id_, this);
|
|
|