Index: components/policy/core/common/cloud/cloud_policy_core.cc |
diff --git a/components/policy/core/common/cloud/cloud_policy_core.cc b/components/policy/core/common/cloud/cloud_policy_core.cc |
index d6f75037ad94910c823b480bbe6e6af2d3064a09..471a6552a1988d0766b418f7a75ea7586149a1dd 100644 |
--- a/components/policy/core/common/cloud/cloud_policy_core.cc |
+++ b/components/policy/core/common/cloud/cloud_policy_core.cc |
@@ -92,10 +92,9 @@ void CloudPolicyCore::TrackRefreshDelayPref( |
PrefService* pref_service, |
const std::string& refresh_pref_name) { |
refresh_delay_.reset(new IntegerPrefMember()); |
- refresh_delay_->Init( |
- refresh_pref_name.c_str(), pref_service, |
- base::Bind(&CloudPolicyCore::UpdateRefreshDelayFromPref, |
- base::Unretained(this))); |
+ refresh_delay_->Init(refresh_pref_name, pref_service, |
+ base::Bind(&CloudPolicyCore::UpdateRefreshDelayFromPref, |
+ base::Unretained(this))); |
UpdateRefreshDelayFromPref(); |
} |