Index: Source/web/ServiceWorkerGlobalScopeProxy.cpp |
diff --git a/Source/web/ServiceWorkerGlobalScopeProxy.cpp b/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
index 3d0a55410be7a00e2c8ef9842758a1dc75683b9d..fa291aafbdfedd3b349b999f05598f023e040541 100644 |
--- a/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
+++ b/Source/web/ServiceWorkerGlobalScopeProxy.cpp |
@@ -45,7 +45,6 @@ |
#include "modules/geofencing/CircularGeofencingRegion.h" |
#include "modules/geofencing/GeofencingEvent.h" |
#include "modules/navigatorconnect/AcceptConnectionObserver.h" |
-#include "modules/navigatorconnect/CrossOriginConnectEvent.h" |
#include "modules/navigatorconnect/CrossOriginServiceWorkerClient.h" |
#include "modules/navigatorconnect/ServicePortCollection.h" |
#include "modules/navigatorconnect/WorkerNavigatorServices.h" |
@@ -188,15 +187,6 @@ void ServiceWorkerGlobalScopeProxy::dispatchSyncEvent(int eventID, const WebSync |
m_workerGlobalScope->dispatchExtendableEvent(event.release(), observer); |
} |
-void ServiceWorkerGlobalScopeProxy::dispatchCrossOriginConnectEvent(int eventID, const WebCrossOriginServiceWorkerClient& webClient) |
-{ |
- ASSERT(m_workerGlobalScope); |
- AcceptConnectionObserver* observer = AcceptConnectionObserver::create(m_workerGlobalScope, eventID); |
- CrossOriginServiceWorkerClient* client = CrossOriginServiceWorkerClient::create(webClient); |
- m_workerGlobalScope->dispatchEvent(CrossOriginConnectEvent::create(observer, client)); |
- observer->didDispatchEvent(); |
-} |
- |
void ServiceWorkerGlobalScopeProxy::dispatchCrossOriginMessageEvent(const WebCrossOriginServiceWorkerClient& webClient, const WebString& message, const WebMessagePortChannelArray& webChannels) |
{ |
ASSERT(m_workerGlobalScope); |