Bug 256048
| Summary: | Adopt smart pointer for captured variables in VideoTrackPrivateAVFObjC constructor | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | JC Alvarado <joncarlo> |
| Component: | WebKit Misc. | Assignee: | JC Alvarado <joncarlo> |
| Status: | ASSIGNED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
JC Alvarado
In the constructor for VideoTrackPrivateAVFObjC we captured a reference to self in a lambda and then store in a separate object. We should adopt smart pointers in that lambda to avoid lifetime issues.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/108617701>
JC Alvarado
Pull request: https://github.com/WebKit/WebKit/pull/13241