Index: chrome/browser/google_apis/drive_notification_manager_factory.cc |
diff --git a/chrome/browser/google_apis/drive_notification_manager_factory.cc b/chrome/browser/google_apis/drive_notification_manager_factory.cc |
index 37e769e6f713735edfa0a49a9922a3046fafb5b7..8c402ee4727e7d4c46d00a6d958c70b0d6903c0c 100644 |
--- a/chrome/browser/google_apis/drive_notification_manager_factory.cc |
+++ b/chrome/browser/google_apis/drive_notification_manager_factory.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/google_apis/drive_notification_manager_factory.h" |
#include "chrome/browser/google_apis/drive_notification_manager.h" |
+#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_dependency_manager.h" |
#include "chrome/browser/sync/profile_sync_service_factory.h" |
@@ -32,8 +33,8 @@ DriveNotificationManagerFactory::DriveNotificationManagerFactory() |
DriveNotificationManagerFactory::~DriveNotificationManagerFactory() {} |
ProfileKeyedService* DriveNotificationManagerFactory::BuildServiceInstanceFor( |
- Profile* profile) const { |
- return new DriveNotificationManager(profile); |
+ content::BrowserContext* profile) const { |
+ return new DriveNotificationManager(static_cast<Profile*>(profile)); |
} |
} // namespace google_apis |