Move NetworkProcessProxy ownership from WebProcessPool to WebsiteDataStore
[WebKit-https.git] / Source / WebKit / UIProcess / WebsiteData / curl / WebsiteDataStoreCurl.cpp
index 0e0c06e..64b6c74 100644 (file)
@@ -42,8 +42,7 @@ void WebsiteDataStore::setNetworkProxySettings(WebCore::CurlProxySettings&& prox
 {
     m_proxySettings = WTFMove(proxySettings);
 
-    for (auto& processPool : processPools())
-        processPool->sendToNetworkingProcess(Messages::NetworkProcess::SetNetworkProxySettings(m_sessionID, m_proxySettings));
+    networkProcess().send(Messages::NetworkProcess::SetNetworkProxySettings(m_sessionID, m_proxySettings), 0);
 }
 
 }