Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / sync_file_system / drive_backend_v1 / drive_file_sync_service.cc
index 123a3df..32ec9ca 100644 (file)
@@ -84,7 +84,7 @@ DriveFileSyncService::~DriveFileSyncService() {
     api_util_->RemoveObserver(this);
 
   drive::DriveNotificationManager* drive_notification_manager =
-      drive::DriveNotificationManagerFactory::GetForBrowserContext(profile_);
+      drive::DriveNotificationManagerFactory::FindForBrowserContext(profile_);
   if (drive_notification_manager)
     drive_notification_manager->RemoveObserver(this);
 }