Summary: | [iOS] ignore requests to set volume | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, glenn, jer.noble, philipj, sergio | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Eric Carlson
2014-07-18 19:03:47 PDT
Created attachment 235164 [details]
Proposed patch
Comment on attachment 235164 [details] Proposed patch Clearing flags on attachment: 235164 Committed r171259: <http://trac.webkit.org/changeset/171259> All reviewed patches have been landed. Closing bug. Comment on attachment 235164 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=235164&action=review > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1113 > +#if PLATFORM(IOS) > + return; > +#endif This is a peculiar way to do it. In the many cases like this one we compile out the code rather than adding a return and leaving unreachable code after the return like this. (In reply to comment #4) > (From update of attachment 235164 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=235164&action=review > > > Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:1113 > > +#if PLATFORM(IOS) > > + return; > > +#endif > > This is a peculiar way to do it. In the many cases like this one we compile out the code rather than adding a return and leaving unreachable code after the return like this. Good point. Fixed in r171279: http://trac.webkit.org/changeset/171279 |