Index: content/browser/notifications/platform_notification_context_unittest.cc |
diff --git a/content/browser/notifications/platform_notification_context_unittest.cc b/content/browser/notifications/platform_notification_context_unittest.cc |
index 4aee64bb90f85a2b236ee733f684a7a3662ef2c0..63049570657950fd4109212a62ddd0dc4e8b9126 100644 |
--- a/content/browser/notifications/platform_notification_context_unittest.cc |
+++ b/content/browser/notifications/platform_notification_context_unittest.cc |
@@ -312,7 +312,8 @@ TEST_F(PlatformNotificationContextTest, ServiceWorkerUnregistered) { |
// Register a Service Worker to get a valid registration id. |
embedded_worker_test_helper->context()->RegisterServiceWorker( |
- origin, script_url, nullptr /* provider_host */, |
+ script_url, ServiceWorkerRegistrationOptions(origin), |
+ nullptr /* provider_host */, |
base::Bind(&PlatformNotificationContextTest::DidRegisterServiceWorker, |
base::Unretained(this), &service_worker_registration_id)); |