Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MediaStream] Protect MediaDevicesRequest during callback
https://bugs.webkit.org/show_bug.cgi?id=165711 <rdar://problem/28400468> Reviewed by Sam Weinig. No new tests, I was unable to create a reproducible test but this fix avoids an occasional crash in existing tests. * Modules/mediastream/MediaDevicesEnumerationRequest.cpp: (WebCore::MediaDevicesEnumerationRequest::start): Take a reference to the object before calling the controller in case the completion handler is called synchronously. Canonical link: https://commits.webkit.org/183341@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@209685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information