Index: components/policy/core/common/policy_loader_win.cc |
diff --git a/components/policy/core/common/policy_loader_win.cc b/components/policy/core/common/policy_loader_win.cc |
index d86ae5dc1ef85fa6aba9927d72f2ae5144acc2e6..b5ff23fa626c82ca4386f317f792f075a5424832 100644 |
--- a/components/policy/core/common/policy_loader_win.cc |
+++ b/components/policy/core/common/policy_loader_win.cc |
@@ -113,7 +113,7 @@ void FilterUntrustedPolicy(PolicyMap* policy) { |
std::unique_ptr<base::ListValue> filtered_values(new base::ListValue); |
for (const auto& list_entry : *policy_list_value) { |
std::string entry; |
- if (!list_entry->GetAsString(&entry)) |
+ if (!list_entry.GetAsString(&entry)) |
continue; |
size_t pos = entry.find(';'); |
if (pos == std::string::npos) |