Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Reduce use of SWServerToContextConnection::globalServerToContextConne…
…ction() https://bugs.webkit.org/show_bug.cgi?id=183626 Reviewed by Youenn Fablet. Source/WebCore: Reduce use of SWServerToContextConnection::globalServerToContextConnection() as we are moving towards having multiple context connections. No new tests, no expected behavior change. * workers/service/server/SWServer.cpp: (WebCore::SWServer::matchAll): (WebCore::SWServer::serverToContextConnectionCreated): (WebCore::SWServer::runServiceWorkerIfNecessary): (WebCore::SWServer::runServiceWorker): (WebCore::SWServer::terminateWorkerInternal): (WebCore::SWServer::markAllWorkersAsTerminated): (WebCore::SWServer::workerContextTerminated): (WebCore::SWServer::fireInstallEvent): (WebCore::SWServer::fireActivateEvent): * workers/service/server/SWServer.h: * workers/service/server/SWServerToContextConnection.cpp: (WebCore::SWServerToContextConnection::findClientByIdentifier): (WebCore::SWServerToContextConnection::matchAll): (WebCore::SWServerToContextConnection::claim): * workers/service/server/SWServerWorker.cpp: (WebCore::SWServerWorker::contextConnection): (WebCore::SWServerWorker::matchAll): * workers/service/server/SWServerWorker.h: Source/WebKit: Reduce use of SWServerToContextConnection::globalServerToContextConnection() as we are moving towards having multiple context connections. * StorageProcess/ServiceWorker/WebSWServerConnection.cpp: (WebKit::WebSWServerConnection::startFetch): (WebKit::WebSWServerConnection::postMessageToServiceWorker): Canonical link: https://commits.webkit.org/199295@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
113 additions
and 75 deletions.
- +32 −0 Source/WebCore/ChangeLog
- +39 −51 Source/WebCore/workers/service/server/SWServer.cpp
- +2 −2 Source/WebCore/workers/service/server/SWServer.h
- +4 −4 Source/WebCore/workers/service/server/SWServerToContextConnection.cpp
- +11 −3 Source/WebCore/workers/service/server/SWServerWorker.cpp
- +5 −2 Source/WebCore/workers/service/server/SWServerWorker.h
- +14 −0 Source/WebKit/ChangeLog
- +6 −12 Source/WebKit/StorageProcess/ServiceWorker/WebSWServerConnection.cpp
- +0 −1 Source/WebKit/StorageProcess/ServiceWorker/WebSWServerConnection.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.