Index: chrome/browser/extensions/api/notifications/notifications_api.cc |
diff --git a/chrome/browser/extensions/api/notifications/notifications_api.cc b/chrome/browser/extensions/api/notifications/notifications_api.cc |
index ac1b6be125ff833c604f6616fbb6e70b6219737d..9caba50bb81bea6b9eac7d4f61e591a6da3e0cff 100644 |
--- a/chrome/browser/extensions/api/notifications/notifications_api.cc |
+++ b/chrome/browser/extensions/api/notifications/notifications_api.cc |
@@ -624,7 +624,7 @@ bool NotificationsGetAllFunction::RunNotificationsApi() { |
g_browser_process->notification_ui_manager(); |
std::set<std::string> notification_ids = |
notification_ui_manager->GetAllIdsByProfileAndSourceOrigin( |
- GetProfile(), extension_->url()); |
+ NotificationUIManager::GetProfileID(GetProfile()), extension_->url()); |
scoped_ptr<base::DictionaryValue> result(new base::DictionaryValue()); |