Index: chrome/browser/notifications/notification_ui_manager_android.cc |
diff --git a/chrome/browser/notifications/notification_ui_manager_android.cc b/chrome/browser/notifications/notification_ui_manager_android.cc |
index 85455f15c943911fdb9ccf9edc0bf7d8260efe1a..bfe88441a59a837bcc3afad1f8006fcf88c09ea8 100644 |
--- a/chrome/browser/notifications/notification_ui_manager_android.cc |
+++ b/chrome/browser/notifications/notification_ui_manager_android.cc |
@@ -67,7 +67,7 @@ bool NotificationUIManagerAndroid::OnNotificationClicked( |
// appropriate one for this notification, the used profile should be |
// stored as part of the notification's data. See https://crbug.com/437574. |
PlatformNotificationServiceImpl::GetInstance()->OnPersistentNotificationClick( |
- ProfileManager::GetLastUsedProfile(), |
+ g_browser_process->profile_manager()->GetLastUsedProfile(), |
persistent_notification_id, |
origin); |
@@ -90,7 +90,7 @@ bool NotificationUIManagerAndroid::OnNotificationClosed( |
// appropriate one for this notification, the used profile should be |
// stored as part of the notification's data. See https://crbug.com/437574. |
PlatformNotificationServiceImpl::GetInstance()->OnPersistentNotificationClose( |
- ProfileManager::GetLastUsedProfile(), |
+ g_browser_process->profile_manager()->GetLastUsedProfile(), |
persistent_notification_id, |
origin); |