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

Unified Diff: components/policy/core/common/cloud/user_policy_request_context.cc

Issue 506633004: Remove implicit conversions from scoped_refptr to T* in components/policy/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some more changes 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/policy/core/common/cloud/user_policy_request_context.cc
diff --git a/components/policy/core/common/cloud/user_policy_request_context.cc b/components/policy/core/common/cloud/user_policy_request_context.cc
index 09e20f16cea07594937d1fa7214afa56912227b2..6523343965fb646b44ec6b2dc2766fc46bfdfcdc 100644
--- a/components/policy/core/common/cloud/user_policy_request_context.cc
+++ b/components/policy/core/common/cloud/user_policy_request_context.cc
@@ -19,7 +19,7 @@ UserPolicyRequestContext::UserPolicyRequestContext(
: user_context_getter_(user_context_getter),
system_context_getter_(system_context_getter),
http_user_agent_settings_("*", user_agent) {
- DCHECK(user_context_getter_);
+ DCHECK(user_context_getter_.get());
}
UserPolicyRequestContext::~UserPolicyRequestContext() {

Powered by Google App Engine
This is Rietveld 408576698