Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1798)

Unified Diff: chrome/browser/notifications/extension_welcome_notification.cc

Issue 1292003004: Elide origins displayed on web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style nit Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/extension_welcome_notification.cc
diff --git a/chrome/browser/notifications/extension_welcome_notification.cc b/chrome/browser/notifications/extension_welcome_notification.cc
index 33b900a8263a80f4e25801743599f50e55efa41a..d974145eb92ab67a5d782091e3a75acc1ac08cc7 100644
--- a/chrome/browser/notifications/extension_welcome_notification.cc
+++ b/chrome/browser/notifications/extension_welcome_notification.cc
@@ -260,12 +260,10 @@ void ExtensionWelcomeNotification::ShowWelcomeNotification(
l10n_util::GetStringUTF16(IDS_NOTIFICATION_WELCOME_BODY),
ui::ResourceBundle::GetSharedInstance().GetImageNamed(
IDR_NOTIFICATION_WELCOME_ICON),
- display_source,
- notifier_id_,
- rich_notification_data,
- new NotificationCallbacks(
- profile_, notifier_id_, welcome_notification_id_,
- delegate_.get())));
+ display_source, GURL(), notifier_id_, rich_notification_data,
+ new NotificationCallbacks(profile_, notifier_id_,
+ welcome_notification_id_,
+ delegate_.get())));
if (pop_up_request == POP_UP_HIDDEN)
message_center_notification->set_shown_as_popup(true);

Powered by Google App Engine
This is Rietveld 408576698