diff options
Diffstat (limited to 'chrome/common/webmessageportchannel_impl.cc')
| -rw-r--r-- | chrome/common/webmessageportchannel_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/webmessageportchannel_impl.cc b/chrome/common/webmessageportchannel_impl.cc index 888ab78..b7a9388 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); } |
