Summary: | Incorrect OwnPtr usage in MediaPlayer | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adrienne Walker <enne> | ||||||||
Component: | Media | Assignee: | Patrick R. Gansterer <paroga> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | abarth, commit-queue, dglazkov, enne, gustavo, paroga, scherkus, vrk, webkit.review.bot, xan.lopez | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
Adrienne Walker
2011-04-26 10:21:38 PDT
Created attachment 93213 [details]
Patch
Comment on attachment 93213 [details]
Patch
Fantastic. Thanks!
Comment on attachment 93213 [details] Patch Attachment 93213 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8690451 In retrospect, I was confused about OwnPtr<T*> which turns out to be exactly equivalent to OwnPtr<T> thanks to template magic. Its only sin is that it's stylistically confusing. The only bit of this patch that really needs to be there is to just remove the LOOSE_OWN_PTR #define and fix the few lines that break because of it. Changing the CreateMediaEnginePlayer interface is probably not necessary. (In reply to comment #4) > The only bit of this patch that really needs to be there is to just remove the LOOSE_OWN_PTR #define and fix the few lines that break because of it. Changing the CreateMediaEnginePlayer interface is probably not necessary. adoptPtr should be done directly when calling new, so we need to change CreateMediaEnginePlayer too. Created attachment 93227 [details]
Patch
Comment on attachment 93227 [details] Patch Attachment 93227 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/8685589 Comment on attachment 93227 [details] Patch Attachment 93227 [details] did not pass gtk-ews (gtk): Output: http://queues.webkit.org/results/8688764 Created attachment 93355 [details]
Patch
The commit-queue encountered the following flaky tests while processing attachment 93355 [details]: inspector/debugger/debugger-scripts.html bug 59921 (authors: pfeldman@chromium.org and podivilov@chromium.org) The commit-queue is continuing to process your patch. Comment on attachment 93355 [details] Patch Clearing flags on attachment: 93355 Committed r86418: <http://trac.webkit.org/changeset/86418> All reviewed patches have been landed. Closing bug. |