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

Side by Side Diff: content/child/child_thread_impl.cc

Issue 1958823002: Fix implicit access to raw pointer of scoped_refptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Splitting out change to scoped_refptr to follow up patch. Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/child_thread_impl.h" 5 #include "content/child/child_thread_impl.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 // inflight that would addref it. 717 // inflight that would addref it.
718 Send(new ChildProcessHostMsg_ShutdownRequest); 718 Send(new ChildProcessHostMsg_ShutdownRequest);
719 } 719 }
720 720
721 void ChildThreadImpl::EnsureConnected() { 721 void ChildThreadImpl::EnsureConnected() {
722 VLOG(0) << "ChildThreadImpl::EnsureConnected()"; 722 VLOG(0) << "ChildThreadImpl::EnsureConnected()";
723 base::Process::Current().Terminate(0, false); 723 base::Process::Current().Terminate(0, false);
724 } 724 }
725 725
726 bool ChildThreadImpl::IsInBrowserProcess() const { 726 bool ChildThreadImpl::IsInBrowserProcess() const {
727 return browser_process_io_runner_; 727 return static_cast<bool>(browser_process_io_runner_);
728 } 728 }
729 729
730 } // namespace content 730 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/child/shared_memory_data_consumer_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698