Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(949)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698