summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/message_center_settings_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/notifications/message_center_settings_controller.cc')
-rw-r--r--chrome/browser/notifications/message_center_settings_controller.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/notifications/message_center_settings_controller.cc b/chrome/browser/notifications/message_center_settings_controller.cc
index ea52be7..924c669 100644
--- a/chrome/browser/notifications/message_center_settings_controller.cc
+++ b/chrome/browser/notifications/message_center_settings_controller.cc
@@ -88,9 +88,9 @@ void MessageCenterSettingsController::GetNotifierList(
profile, extension_misc::EXTENSION_ICON_SMALL, this));
for (ExtensionSet::const_iterator iter = extension_set->begin();
iter != extension_set->end(); ++iter) {
- const extensions::Extension* extension = *iter;
+ const extensions::Extension* extension = iter->get();
if (!extension->HasAPIPermission(
- extensions::APIPermission::kNotification)) {
+ extensions::APIPermission::kNotification)) {
continue;
}