Index: content/browser/service_worker/service_worker_dispatcher_host_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc b/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc |
index 315c6d605f471191687db0519d62ee26bc3157c1..408fb4f86e9baf950aea8a24db64e5e2127658ed 100644 |
--- a/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc |
+++ b/content/browser/service_worker/service_worker_dispatcher_host_unittest.cc |
@@ -24,6 +24,7 @@ |
#include "content/browser/service_worker/service_worker_handle.h" |
#include "content/common/service_worker/embedded_worker_messages.h" |
#include "content/common/service_worker/service_worker_messages.h" |
+#include "content/common/service_worker/service_worker_types.h" |
#include "content/common/service_worker/service_worker_utils.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/test/mock_resource_context.h" |
@@ -60,7 +61,10 @@ class TestingServiceWorkerDispatcherHost : public ServiceWorkerDispatcherHost { |
ServiceWorkerContextWrapper* context_wrapper, |
ResourceContext* resource_context, |
EmbeddedWorkerTestHelper* helper) |
- : ServiceWorkerDispatcherHost(process_id, NULL, resource_context), |
+ : ServiceWorkerDispatcherHost(process_id, |
+ nullptr, |
+ resource_context, |
+ MojoURLLoaderFactoryGetter()), |
bad_messages_received_count_(0), |
helper_(helper) { |
Init(context_wrapper); |