Bug 205471 - Use a WeakHashSet for WKProcessAssertionBackgroundTaskManager._assertionsNeedingBackgroundTask
Summary: Use a WeakHashSet for WKProcessAssertionBackgroundTaskManager._assertionsNeed...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-12-19 13:54 PST by Chris Dumez
Modified: 2019-12-19 15:51 PST (History)
6 users (show)

See Also:


Attachments
Patch (3.83 KB, patch)
2019-12-19 13:55 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2019-12-19 13:54:17 PST
Use a WeakHashSet for WKProcessAssertionBackgroundTaskManager._assertionsNeedingBackgroundTask, instead of a HashSet of raw pointers, for extra safety.
Comment 1 Chris Dumez 2019-12-19 13:55:13 PST
Created attachment 386140 [details]
Patch
Comment 2 WebKit Commit Bot 2019-12-19 15:50:01 PST
Comment on attachment 386140 [details]
Patch

Clearing flags on attachment: 386140

Committed r253794: <https://trac.webkit.org/changeset/253794>
Comment 3 WebKit Commit Bot 2019-12-19 15:50:02 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-12-19 15:51:19 PST
<rdar://problem/58094829>