Bug 199160 - [Cocoa] Avoid creating a PlatformMediaSessionManager when the WebProcess is suspended or resumed
Summary: [Cocoa] Avoid creating a PlatformMediaSessionManager when the WebProcess is s...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-06-24 08:06 PDT by Per Arne Vollan
Modified: 2019-06-24 12:32 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.29 KB, patch)
2019-06-24 08:08 PDT, Per Arne Vollan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2019-06-24 08:06:15 PDT
When the WebProcess suspends or resumes, the PlatformMediaSessionManager is notified about this. Avoid creating a new PlatformMediaSessionManager if it does not already exist.
Comment 1 Per Arne Vollan 2019-06-24 08:08:15 PDT
Created attachment 372763 [details]
Patch
Comment 2 Brent Fulgham 2019-06-24 09:23:59 PDT
Comment on attachment 372763 [details]
Patch

Oh, whoops! Good catch. r=me
Comment 3 Per Arne Vollan 2019-06-24 11:59:57 PDT
rdar://problem/50666051
Comment 4 Per Arne Vollan 2019-06-24 12:00:22 PDT
Comment on attachment 372763 [details]
Patch

Thanks for reviewing!
Comment 5 WebKit Commit Bot 2019-06-24 12:32:09 PDT
Comment on attachment 372763 [details]
Patch

Clearing flags on attachment: 372763

Committed r246754: <https://trac.webkit.org/changeset/246754>
Comment 6 WebKit Commit Bot 2019-06-24 12:32:10 PDT
All reviewed patches have been landed.  Closing bug.