Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 53b282201f09e2c7050ceb6192bd3b076ce4c752..f9b629b98356cd84ff20dc04c28caa067d4f3703 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -439,7 +439,7 @@ void RenderProcessHostImpl::EnableSendQueue() { |
bool RenderProcessHostImpl::Init() { |
// calling Init() more than once does nothing, this makes it more convenient |
// for the view host which may not be sure in some cases |
- if (channel_.get()) |
+ if (channel_) |
return true; |
CommandLine::StringType renderer_prefix; |
@@ -1083,7 +1083,7 @@ void RenderProcessHostImpl::ClearTransportDIBCache() { |
} |
bool RenderProcessHostImpl::Send(IPC::Message* msg) { |
- if (!channel_.get()) { |
+ if (!channel_) { |
if (!is_initialized_) { |
queued_messages_.push(msg); |
return true; |
@@ -1676,7 +1676,7 @@ void RenderProcessHostImpl::OnProcessLaunched() { |
if (deleting_soon_) |
return; |
- if (child_process_launcher_.get()) { |
+ if (child_process_launcher_) { |
if (!child_process_launcher_->GetHandle()) { |
OnChannelError(); |
return; |