Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Small refactor: Use HashCountedSet rather than HashMap<..., int> to s…
…tore client counts in WebPlaybackSessionManager{,Proxy}. https://bugs.webkit.org/show_bug.cgi?id=165807 Reviewed by Eric Carlson. * UIProcess/Cocoa/WebPlaybackSessionManagerProxy.h: * UIProcess/Cocoa/WebPlaybackSessionManagerProxy.mm: (WebKit::WebPlaybackSessionManagerProxy::addClientForContext): (WebKit::WebPlaybackSessionManagerProxy::removeClientForContext): * WebProcess/cocoa/WebPlaybackSessionManager.h: * WebProcess/cocoa/WebPlaybackSessionManager.mm: (WebKit::WebPlaybackSessionManager::addClientForContext): (WebKit::WebPlaybackSessionManager::removeClientForContext): Canonical link: https://commits.webkit.org/183568@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
26 additions
and 35 deletions.
- +16 −0 Source/WebKit2/ChangeLog
- +2 −1 Source/WebKit2/UIProcess/Cocoa/WebPlaybackSessionManagerProxy.h
- +4 −19 Source/WebKit2/UIProcess/Cocoa/WebPlaybackSessionManagerProxy.mm
- +2 −1 Source/WebKit2/WebProcess/cocoa/WebPlaybackSessionManager.h
- +2 −14 Source/WebKit2/WebProcess/cocoa/WebPlaybackSessionManager.mm
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