| Index: content/common/child_process_host_impl.cc
|
| diff --git a/content/common/child_process_host_impl.cc b/content/common/child_process_host_impl.cc
|
| index b5d1edaed6c9862ac9756a3157662678f175d080..bb0fdfd041d529b5374f9fea03e8553d5d9f3cd6 100644
|
| --- a/content/common/child_process_host_impl.cc
|
| +++ b/content/common/child_process_host_impl.cc
|
| @@ -149,7 +149,7 @@ ChildProcessHostImpl::~ChildProcessHostImpl() {
|
| void ChildProcessHostImpl::AddFilter(IPC::ChannelProxy::MessageFilter* filter) {
|
| filters_.push_back(filter);
|
|
|
| - if (channel_.get())
|
| + if (channel_)
|
| filter->OnFilterAdded(channel_.get());
|
| }
|
|
|
| @@ -189,7 +189,7 @@ int ChildProcessHostImpl::TakeClientFileDescriptor() {
|
| #endif
|
|
|
| bool ChildProcessHostImpl::Send(IPC::Message* message) {
|
| - if (!channel_.get()) {
|
| + if (!channel_) {
|
| delete message;
|
| return false;
|
| }
|
|
|