Bug 146421 - MediaSession: use a HashSet for the collection of participating elements
Summary: MediaSession: use a HashSet for the collection of participating elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 145411
  Show dependency treegraph
 
Reported: 2015-06-29 13:34 PDT by Matt Rajca
Modified: 2015-06-29 14:02 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.45 KB, patch)
2015-06-29 13:50 PDT, Matt Rajca
eric.carlson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Rajca 2015-06-29 13:34:14 PDT
Since ordering doesn't matter and we use a set to keep track of a media session's active participating elements, we should also use a set for the session's participating elements.
Comment 1 Radar WebKit Bug Importer 2015-06-29 13:34:52 PDT
<rdar://problem/21597865>
Comment 2 Matt Rajca 2015-06-29 13:50:38 PDT
Created attachment 255772 [details]
Patch
Comment 3 Matt Rajca 2015-06-29 14:02:46 PDT
Committed r186084: <http://trac.webkit.org/changeset/186084>