Index: chrome/browser/notifications/desktop_notification_service_factory.cc |
diff --git a/chrome/browser/notifications/desktop_notification_service_factory.cc b/chrome/browser/notifications/desktop_notification_service_factory.cc |
index c7696b8a88f71ffa3dea130f89f3ea7355aec509..b8fe11bd548e89bc8105e9dee8a83af2e7f41d91 100644 |
--- a/chrome/browser/notifications/desktop_notification_service_factory.cc |
+++ b/chrome/browser/notifications/desktop_notification_service_factory.cc |
@@ -35,9 +35,9 @@ DesktopNotificationServiceFactory::~DesktopNotificationServiceFactory() { |
} |
ProfileKeyedService* DesktopNotificationServiceFactory::BuildServiceInstanceFor( |
- Profile* profile) const { |
+ content::BrowserContext* profile) const { |
DesktopNotificationService* service = |
- new DesktopNotificationService(profile, NULL); |
+ new DesktopNotificationService(static_cast<Profile*>(profile), NULL); |
return service; |
} |