| Index: chrome/browser/chromeos/drive/drive_integration_service.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| index e6be3df5ad685ee21f569496397fab312948776f..dafcc21cfe32e869c2632e1e869c0c5b3a47a448 100644
|
| --- a/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
|
| @@ -216,7 +216,7 @@ void DriveIntegrationService::Shutdown() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| DriveNotificationManager* drive_notification_manager =
|
| - DriveNotificationManagerFactory::GetForProfile(profile_);
|
| + DriveNotificationManagerFactory::GetForBrowserContext(profile_);
|
| if (drive_notification_manager)
|
| drive_notification_manager->RemoveObserver(this);
|
|
|
| @@ -363,7 +363,7 @@ void DriveIntegrationService::InitializeAfterMetadataInitialized(
|
|
|
| // Register for Google Drive invalidation notifications.
|
| DriveNotificationManager* drive_notification_manager =
|
| - DriveNotificationManagerFactory::GetForProfile(profile_);
|
| + DriveNotificationManagerFactory::GetForBrowserContext(profile_);
|
| if (drive_notification_manager) {
|
| drive_notification_manager->AddObserver(this);
|
| const bool registered =
|
|
|