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

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

Issue 2377553003: Add ShouldDisplayOverFullscreen support to web notifications. (Closed)
Patch Set: Final formatting fixes Created 4 years, 3 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/platform_notification_service_impl.cc
diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
index 7b1472ac7d62e6cf12000c86bb5b7f3d667b9a75..c8bfae36ad8e760c9f72fcb48d7fd960de4e92f5 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.cc
+++ b/chrome/browser/notifications/platform_notification_service_impl.cc
@@ -287,7 +287,7 @@ void PlatformNotificationServiceImpl::DisplayNotification(
DCHECK_EQ(0u, notification_resources.action_icons.size());
NotificationObjectProxy* proxy = new NotificationObjectProxy(
- browser_context, notification_id, std::move(delegate));
+ browser_context, notification_id, origin, std::move(delegate));
Notification notification = CreateNotificationFromData(
profile, GURL() /* service_worker_scope */, origin, notification_data,
notification_resources, proxy);

Powered by Google App Engine
This is Rietveld 408576698