Index: chrome/browser/ui/webui/policy_ui.cc |
diff --git a/chrome/browser/ui/webui/policy_ui.cc b/chrome/browser/ui/webui/policy_ui.cc |
index e1283c7d57a9e3f9b248d186862ec192db9c17c2..5a99ec7714d1e30bcf8997b3002c58ab37aba2ff 100644 |
--- a/chrome/browser/ui/webui/policy_ui.cc |
+++ b/chrome/browser/ui/webui/policy_ui.cc |
@@ -565,7 +565,7 @@ void PolicyUIHandler::SendPolicyNames() const { |
for (ExtensionSet::const_iterator it = extensions->begin(); |
it != extensions->end(); ++it) { |
- const extensions::Extension* extension = *it; |
+ const extensions::Extension* extension = it->get(); |
// Skip this extension if it's not an enterprise extension. |
if (!extension->manifest()->HasPath( |
extension_manifest_keys::kStorageManagedSchema)) |
@@ -612,7 +612,7 @@ void PolicyUIHandler::SendPolicyValues() const { |
for (ExtensionSet::const_iterator it = extensions->begin(); |
it != extensions->end(); ++it) { |
- const extensions::Extension* extension = *it; |
+ const extensions::Extension* extension = it->get(); |
// Skip this extension if it's not an enterprise extension. |
if (!extension->manifest()->HasPath( |
extension_manifest_keys::kStorageManagedSchema)) |