| Index: chrome/common/webmessageportchannel_impl.cc
|
| diff --git a/chrome/common/webmessageportchannel_impl.cc b/chrome/common/webmessageportchannel_impl.cc
|
| index 888ab78f254503cdeebc6369687aed03df73d3e6..b7a938888214908f88ee781a44dbe178ed77233b 100644
|
| --- a/chrome/common/webmessageportchannel_impl.cc
|
| +++ b/chrome/common/webmessageportchannel_impl.cc
|
| @@ -69,8 +69,8 @@ void WebMessagePortChannelImpl::entangle(WebMessagePortChannel* channel) {
|
| // The message port ids might not be set up yet, if this channel wasn't
|
| // created on the main thread. So need to wait until we're on the main thread
|
| // before getting the other message port id.
|
| - scoped_refptr<WebMessagePortChannelImpl> webchannel =
|
| - static_cast<WebMessagePortChannelImpl*>(channel);
|
| + scoped_refptr<WebMessagePortChannelImpl> webchannel(
|
| + static_cast<WebMessagePortChannelImpl*>(channel));
|
| Entangle(webchannel);
|
| }
|
|
|
|
|