Make it possible for apps that use both WK1 and WK2 to use MessagePorts.
[WebKit-https.git] / Source / WebCore / dom / messageports / MessagePortChannel.cpp
index 26fbafb..d7506f0 100644 (file)
@@ -240,7 +240,7 @@ void MessagePortChannel::checkRemotePortForActivity(const MessagePortIdentifier&
         callback(hasActivity);
     } };
 
-    MessagePortChannelProvider::singleton().checkProcessLocalPortForActivity(remotePort, *m_processes[i], WTFMove(outerCallback));
+    m_registry.provider().checkProcessLocalPortForActivity(remotePort, *m_processes[i], WTFMove(outerCallback));
 }
 
 bool MessagePortChannel::hasAnyMessagesPendingOrInFlight() const