| Index: components/policy/core/browser/url_blacklist_policy_handler.cc
|
| diff --git a/components/policy/core/browser/url_blacklist_policy_handler.cc b/components/policy/core/browser/url_blacklist_policy_handler.cc
|
| index 15461902a466a872dcc56860307f01c2e021b750..f74f43d6c1e9a3b92089a52947c41909e9a722bb 100644
|
| --- a/components/policy/core/browser/url_blacklist_policy_handler.cc
|
| +++ b/components/policy/core/browser/url_blacklist_policy_handler.cc
|
| @@ -60,7 +60,7 @@ void URLBlacklistPolicyHandler::ApplyPolicySettings(const PolicyMap& policies,
|
| if (disabled_schemes) {
|
| for (const auto& entry : *disabled_schemes) {
|
| std::string entry_value;
|
| - if (entry->GetAsString(&entry_value)) {
|
| + if (entry.GetAsString(&entry_value)) {
|
| entry_value.append("://*");
|
| merged_url_blacklist->AppendString(entry_value);
|
| }
|
| @@ -69,8 +69,8 @@ void URLBlacklistPolicyHandler::ApplyPolicySettings(const PolicyMap& policies,
|
|
|
| if (url_blacklist) {
|
| for (const auto& entry : *url_blacklist) {
|
| - if (entry->IsType(base::Value::Type::STRING))
|
| - merged_url_blacklist->Append(entry->CreateDeepCopy());
|
| + if (entry.IsType(base::Value::Type::STRING))
|
| + merged_url_blacklist->Append(entry.CreateDeepCopy());
|
| }
|
| }
|
|
|
|
|