Index: content/browser/service_worker/service_worker_registration_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_registration_unittest.cc b/content/browser/service_worker/service_worker_registration_unittest.cc |
index 6e1b4442fb11e27c93e2c7c13d359d158c95d60e..490f6ecaa2d366875611b5340f406115a332379d 100644 |
--- a/content/browser/service_worker/service_worker_registration_unittest.cc |
+++ b/content/browser/service_worker/service_worker_registration_unittest.cc |
@@ -258,7 +258,8 @@ class ServiceWorkerActivationTest : public ServiceWorkerRegistrationTest { |
// Give the active version a controllee. |
host_ = CreateProviderHostForWindow( |
33 /* dummy render process id */, 1 /* dummy provider_id */, |
- true /* is_parent_frame_secure */, context()->AsWeakPtr()); |
+ true /* is_parent_frame_secure */, context()->AsWeakPtr(), |
+ &remote_endpoint_); |
version_1->AddControllee(host_.get()); |
// Give the active version an in-flight request. |
@@ -292,6 +293,7 @@ class ServiceWorkerActivationTest : public ServiceWorkerRegistrationTest { |
private: |
scoped_refptr<ServiceWorkerRegistration> registration_; |
std::unique_ptr<ServiceWorkerProviderHost> host_; |
+ ServiceWorkerRemoteProviderEndpoint remote_endpoint_; |
int inflight_request_id_ = -1; |
}; |