Make it possible for apps that use both WK1 and WK2 to use MessagePorts.
[WebKit-https.git] / Source / WebKit / UIProcess / WebPageProxy.cpp
index 3ec2b88..96eb5a9 100644 (file)
@@ -415,11 +415,6 @@ WebPageProxy::WebPageProxy(PageClient& pageClient, WebProcessProxy& process, uin
         this->dispatchActivityStateChange();
     });
 #endif
-
-    static std::once_flag once;
-    std::call_once(once, [] {
-        MessagePortChannelProvider::setSharedProvider(UIMessagePortChannelProvider::singleton());
-    });
 }
 
 WebPageProxy::~WebPageProxy()