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

Unified Diff: content/common/child_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
« no previous file with comments | « content/common/child_process.cc ('k') | content/common/child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « content/common/child_process.cc ('k') | content/common/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698