RESOLVED FIXED 56205
m_restrictions needs to allow multiple values (a bitfield)
https://bugs.webkit.org/show_bug.cgi?id=56205
Summary m_restrictions needs to allow multiple values (a bitfield)
Dean Jackson
Reported 2011-03-11 10:35:45 PST
m_restrictions needs to allow multiple values (a bitfield)
Attachments
Patch (1.80 KB, patch)
2011-03-11 10:47 PST, Dean Jackson
no flags
Patch (1.94 KB, patch)
2011-03-11 11:39 PST, Dean Jackson
simon.fraser: review+
Dean Jackson
Comment 1 2011-03-11 10:47:08 PST
Simon Fraser (smfr)
Comment 2 2011-03-11 11:21:28 PST
Comment on attachment 85492 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=85492&action=review > Source/WebCore/ChangeLog:9 > + https://bugs.webkit.org/show_bug.cgi?id=56205 > + m_restrictions needs to allow multiple values (a bitfield) > + > + Make the m_restrictions ivar of unsigned type, so that it > + can hold multiple values of BehaviorRestrictions. Somewhere in this text you should mention media elements. > Source/WebCore/html/HTMLMediaElement.h:363 > - BehaviorRestrictions m_restrictions; > + unsigned m_restrictions; I think you should add a typedef for BehaviorRestrictions, and rename the enum to BehaviorRestrictionFlags
Dean Jackson
Comment 3 2011-03-11 11:39:35 PST
Simon Fraser (smfr)
Comment 4 2011-03-11 11:41:43 PST
Comment on attachment 85502 [details] Patch Doesn't that feel better?
Dean Jackson
Comment 5 2011-03-11 11:51:56 PST
(In reply to comment #4) > (From update of attachment 85502 [details]) > Doesn't that feel better? I have a warm feeling in my stomach. I will sleep soundly tonight.
Dean Jackson
Comment 6 2011-03-11 12:30:07 PST
Committing to http://svn.webkit.org/repository/webkit/trunk ... M Source/WebCore/ChangeLog M Source/WebCore/html/HTMLMediaElement.h Committed r80873
Note You need to log in before you can comment on or make changes to this bug.