| Summary: | [iOS] Use callOnMainThread() not dispatch_async() in MediaPlayerPrivateAVFoundationObjC | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | commit-queue, eric.carlson, glenn, jeremyj-wk, philipj | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Jer Noble
2014-01-27 13:21:22 PST
Created attachment 222351 [details]
Patch
Created attachment 222352 [details]
Patch
Comment on attachment 222352 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=222352&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:2124 > + if (strongSelf->m_callback) > + strongSelf->m_callback->didCancelLoadingRequest(strongRequest.get()); Why do you use "strongSelf->m_callback" here, but just "m_callback" everywhere else? Created attachment 222355 [details]
Patch
Now with more weakPtr.
Comment on attachment 222355 [details] Patch Clearing flags on attachment: 222355 Committed r162879: <http://trac.webkit.org/changeset/162879> *** Bug 127758 has been marked as a duplicate of this bug. *** |