summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/desktop_notification_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/notifications/desktop_notification_service.cc')
-rw-r--r--chrome/browser/notifications/desktop_notification_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/notifications/desktop_notification_service.cc b/chrome/browser/notifications/desktop_notification_service.cc
index a4c45d5..e7530e4 100644
--- a/chrome/browser/notifications/desktop_notification_service.cc
+++ b/chrome/browser/notifications/desktop_notification_service.cc
@@ -600,7 +600,7 @@ string16 DesktopNotificationService::DisplayNameForOrigin(
if (origin.SchemeIs(chrome::kExtensionScheme)) {
ExtensionsService* ext_service = profile_->GetExtensionsService();
if (ext_service) {
- Extension* extension = ext_service->GetExtensionByURL(origin);
+ const Extension* extension = ext_service->GetExtensionByURL(origin);
if (extension)
return UTF8ToUTF16(extension->name());
}