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

Unified Diff: components/policy/core/common/cloud/system_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/system_policy_request_context.cc
diff --git a/components/policy/core/common/cloud/system_policy_request_context.cc b/components/policy/core/common/cloud/system_policy_request_context.cc
index aec8a56ea0dbd9249d405eb3ea742e582c9481e6..488fd25a13d0a641b7202d4745153c542a50d6d8 100644
--- a/components/policy/core/common/cloud/system_policy_request_context.cc
+++ b/components/policy/core/common/cloud/system_policy_request_context.cc
@@ -17,7 +17,7 @@ SystemPolicyRequestContext::SystemPolicyRequestContext(
const std::string& user_agent)
: system_context_getter_(system_context_getter),
http_user_agent_settings_("*", user_agent) {
- DCHECK(system_context_getter);
+ DCHECK(system_context_getter.get());
}
SystemPolicyRequestContext::~SystemPolicyRequestContext() {

Powered by Google App Engine
This is Rietveld 408576698