Index: chrome/browser/download/notification/download_notification_item_unittest.cc |
diff --git a/chrome/browser/download/notification/download_notification_item_unittest.cc b/chrome/browser/download/notification/download_notification_item_unittest.cc |
index 9939f14acad69814f08c3ec6e2ae896f9ddbce3c..4248ca81ac9e5e04fa083e28e61e52dc97a87dcf 100644 |
--- a/chrome/browser/download/notification/download_notification_item_unittest.cc |
+++ b/chrome/browser/download/notification/download_notification_item_unittest.cc |
@@ -126,7 +126,7 @@ class DownloadNotificationItemTest : public testing::Test { |
size_t NotificationCount() const { |
return ui_manager_ |
->GetAllIdsByProfileAndSourceOrigin( |
- profile_, |
+ NotificationUIManager::GetProfileID(profile_), |
GURL(DownloadNotificationItem::kDownloadNotificationOrigin)) |
.size(); |
} |