commit | 03c6b7855dffb5c16f431ce383024da1db3945a7 | [log] [tgz] |
---|---|---|
author | Lei Zhang <[email protected]> | Thu Mar 21 05:22:24 2019 |
committer | Commit Bot <[email protected]> | Thu Mar 21 05:22:24 2019 |
tree | dbd224f9414072bbfa74092d6b8d5eaa9b7d9f10 | |
parent | 57fc5fd7ceb150db45afe0c144427c1af3880b61 [diff] [blame] |
Remove default argument from NotificationDisplayService::Display(). Default arguments are banned on virtual functions. Change-Id: I9b511a8d0f6a55cfd708545f930b1ac6cf726b53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1533087 Commit-Queue: Lei Zhang <[email protected]> Reviewed-by: Peter Beverloo <[email protected]> Cr-Commit-Position: refs/heads/master@{#642834}
diff --git a/chrome/browser/chromeos/eol_notification.cc b/chrome/browser/chromeos/eol_notification.cc index 4c56fd0..de36459 100644 --- a/chrome/browser/chromeos/eol_notification.cc +++ b/chrome/browser/chromeos/eol_notification.cc
@@ -165,7 +165,8 @@ message_center::SystemNotificationWarningLevel::CRITICAL_WARNING); NotificationDisplayServiceFactory::GetForProfile(profile_)->Display( - NotificationHandler::Type::TRANSIENT, *notification); + NotificationHandler::Type::TRANSIENT, *notification, + /*metadata=*/nullptr); } } // namespace chromeos