| Index: chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc
|
| diff --git a/chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc b/chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc
|
| index 6134efa54d3fa7c72045fc225f23838021e752c4..f9b1666566375424be25adfa1ce9f24254ca4d41 100644
|
| --- a/chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc
|
| +++ b/chrome/browser/ui/webui/sync_file_system_internals/sync_file_system_internals_handler.cc
|
| @@ -90,7 +90,7 @@ void SyncFileSystemInternalsHandler::GetServiceStatus(
|
| void SyncFileSystemInternalsHandler::GetNotificationSource(
|
| const base::ListValue* args) {
|
| drive::DriveNotificationManager* drive_notification_manager =
|
| - drive::DriveNotificationManagerFactory::GetForProfile(profile_);
|
| + drive::DriveNotificationManagerFactory::GetForBrowserContext(profile_);
|
| bool xmpp_enabled = drive_notification_manager->push_notification_enabled();
|
| std::string notification_source = xmpp_enabled ? "XMPP" : "Polling";
|
| web_ui()->CallJavascriptFunction("SyncService.onGetNotificationSource",
|
|
|