Index: components/policy/core/common/policy_loader_mac.mm |
diff --git a/components/policy/core/common/policy_loader_mac.mm b/components/policy/core/common/policy_loader_mac.mm |
index 2f8001de3f37641066f6e3698eff2d6c68b52fc2..e10735b7a3bf94e65378ebcbda5f03cd8407be8c 100644 |
--- a/components/policy/core/common/policy_loader_mac.mm |
+++ b/components/policy/core/common/policy_loader_mac.mm |
@@ -86,8 +86,8 @@ |
// TODO(joaodasilva): figure the policy scope. |
scoped_ptr<base::Value> policy = PropertyToValue(value); |
if (policy) { |
- chrome_policy.Set(it.key(), level, POLICY_SCOPE_USER, |
- POLICY_SOURCE_PLATFORM, policy.release(), nullptr); |
+ chrome_policy.Set(it.key(), level, POLICY_SCOPE_USER, policy.release(), |
+ NULL); |
} else { |
status.Add(POLICY_LOAD_STATUS_PARSE_ERROR); |
} |
@@ -180,8 +180,8 @@ |
forced ? POLICY_LEVEL_MANDATORY : POLICY_LEVEL_RECOMMENDED; |
scoped_ptr<base::Value> policy_value = PropertyToValue(value); |
if (policy_value) { |
- policy->Set(it.key(), level, POLICY_SCOPE_USER, POLICY_SOURCE_PLATFORM, |
- policy_value.release(), nullptr); |
+ policy->Set(it.key(), level, POLICY_SCOPE_USER, policy_value.release(), |
+ NULL); |
} |
} |
} |