| Index: chrome/browser/sync_file_system/drive_backend/drive_file_sync_service.cc
|
| diff --git a/chrome/browser/sync_file_system/drive_backend/drive_file_sync_service.cc b/chrome/browser/sync_file_system/drive_backend/drive_file_sync_service.cc
|
| index bcb8aed2cdd2cc4e880fd1244adead36cdb5935c..6eef2a98778d527bbd7a6f40ddfddd1dc2f1cbdc 100644
|
| --- a/chrome/browser/sync_file_system/drive_backend/drive_file_sync_service.cc
|
| +++ b/chrome/browser/sync_file_system/drive_backend/drive_file_sync_service.cc
|
| @@ -90,7 +90,7 @@ DriveFileSyncService::~DriveFileSyncService() {
|
| api_util_->RemoveObserver(this);
|
|
|
| drive::DriveNotificationManager* drive_notification_manager =
|
| - drive::DriveNotificationManagerFactory::GetForProfile(profile_);
|
| + drive::DriveNotificationManagerFactory::GetForBrowserContext(profile_);
|
| if (drive_notification_manager)
|
| drive_notification_manager->RemoveObserver(this);
|
| }
|
| @@ -424,7 +424,7 @@ void DriveFileSyncService::DidInitializeMetadataStore(
|
| may_have_unfetched_changes_ = true;
|
|
|
| drive::DriveNotificationManager* drive_notification_manager =
|
| - drive::DriveNotificationManagerFactory::GetForProfile(profile_);
|
| + drive::DriveNotificationManagerFactory::GetForBrowserContext(profile_);
|
| if (drive_notification_manager)
|
| drive_notification_manager->AddObserver(this);
|
| }
|
|
|