[WPE] Do not create a PlatformDisplay in the Service Worker process
[WebKit-https.git] / Source / WebKit / UIProcess / WebProcessPool.cpp
index 9c6b926..b7efa1c 100644 (file)
@@ -949,6 +949,10 @@ void WebProcessPool::initializeNewWebProcess(WebProcessProxy& process, WebsiteDa
     parameters.mediaMIMETypes = process.mediaMIMETypes();
 #endif
 
+#if PLATFORM(WPE)
+    parameters.isServiceWorkerProcess = process.isServiceWorkerProcess();
+#endif
+
     // Add any platform specific parameters
     platformInitializeWebProcess(parameters);