Remove some accidentally checked-in commented-out code.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Nov 2017 19:40:02 +0000 (19:40 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Nov 2017 19:40:02 +0000 (19:40 +0000)
Unreviewed.

* workers/service/server/SWServer.cpp:
(WebCore::SWServer::fireInstallEvent):
(WebCore::SWServer::fireActivateEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224824 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/workers/service/server/SWServer.cpp

index df9bb17..da5fac4 100644 (file)
@@ -1,3 +1,13 @@
+2017-11-14  Brady Eidson  <beidson@apple.com>
+
+        Remove some accidentally checked-in commented-out code.
+
+        Unreviewed.
+
+        * workers/service/server/SWServer.cpp:
+        (WebCore::SWServer::fireInstallEvent):
+        (WebCore::SWServer::fireActivateEvent):
+
 2017-11-14  Alex Christensen  <achristensen@webkit.org>
 
         Clean up old URL parser remnants
index d6d1342..8f845a8 100644 (file)
@@ -329,12 +329,6 @@ void SWServer::installContextData(const ServiceWorkerContextData& data)
 
 void SWServer::fireInstallEvent(SWServerWorker& worker)
 {
-//    auto* worker = m_workersByID.get(serviceWorkerIdentifier);
-//    if (!worker) {
-//        LOG_ERROR("Request to fire install event on a worker that cannot be found in the server");
-//        return;
-//    }
-
     auto* connection = SWServerToContextConnection::connectionForIdentifier(worker.contextConnectionIdentifier());
     if (!connection) {
         LOG_ERROR("Request to fire install event on a worker whose context connection does not exist");
@@ -346,12 +340,6 @@ void SWServer::fireInstallEvent(SWServerWorker& worker)
 
 void SWServer::fireActivateEvent(SWServerWorker& worker)
 {
-//    auto* worker = m_workersByID.get(serviceWorkerIdentifier);
-//    if (!worker) {
-//        LOG_ERROR("Request to fire install event on a worker that cannot be found in the server");
-//        return;
-//    }
-
     auto* connection = SWServerToContextConnection::connectionForIdentifier(worker.contextConnectionIdentifier());
     if (!connection) {
         LOG_ERROR("Request to fire install event on a worker whose context connection does not exist");