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

Unified Diff: components/nacl/browser/nacl_process_host.cc

Issue 501993003: Remove implicit conversions from scoped_refptr to T* in components/nacl/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: components/nacl/browser/nacl_process_host.cc
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
index 56934bfc6ca1372da828c0e5cbf8d3986f020694..33b071f07b1ebfa91b9f301160080bf66f23293f 100644
--- a/components/nacl/browser/nacl_process_host.cc
+++ b/components/nacl/browser/nacl_process_host.cc
@@ -772,9 +772,9 @@ void NaClProcessHost::SendErrorToRenderer(const std::string& error_message) {
void NaClProcessHost::SendMessageToRenderer(
const NaClLaunchResult& result,
const std::string& error_message) {
- DCHECK(nacl_host_message_filter_);
+ DCHECK(nacl_host_message_filter_.get());
DCHECK(reply_msg_);
- if (nacl_host_message_filter_ != NULL && reply_msg_ != NULL) {
+ if (nacl_host_message_filter_.get() != NULL && reply_msg_ != NULL) {
NaClHostMsg_LaunchNaCl::WriteReplyParams(
reply_msg_, result, error_message);
nacl_host_message_filter_->Send(reply_msg_);
« no previous file with comments | « no previous file | components/nacl/browser/pnacl_host.cc » ('j') | components/nacl/renderer/ppb_nacl_private_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698