Summary: | [iOS] Protect against possible deadlock by delaying video layer creation | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||||||
Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||||||
Status: | NEW --- | ||||||||||
Severity: | Normal | CC: | commit-queue, darin, eric.carlson, glenn | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Jer Noble
2014-01-23 12:31:37 PST
Created attachment 222017 [details]
Patch
Comment on attachment 222017 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=222017&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:429 > if (!m_videoLayer) { You could add "|| m_videoLayer" to the early return above and get rid of this test. Comment on attachment 222017 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=222017&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:430 > + callOnMainThread([this] { This should return if m_videoLayer is non-NULL. Created attachment 222025 [details]
Patch for landing
Comment on attachment 222025 [details] Patch for landing Rejecting attachment 222025 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-02', 'validate-changelog', '--check-oops', '--non-interactive', 222025, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!. Full output: http://webkit-queues.appspot.com/results/6479526041223168 Created attachment 222072 [details]
Patch for landing
Comment on attachment 222072 [details]
Patch for landing
Now with fewer OOPS.
Comment on attachment 222072 [details] Patch for landing Clearing flags on attachment: 222072 Committed r162686: <http://trac.webkit.org/changeset/162686> |