RESOLVED FIXED 145193
Touching HTMLMediaElement.h or MediaPlayer.h causes a world rebuild.
https://bugs.webkit.org/show_bug.cgi?id=145193
Summary Touching HTMLMediaElement.h or MediaPlayer.h causes a world rebuild.
Jer Noble
Reported 2015-05-19 16:23:17 PDT
Touching HTMLMediaElement.h or MediaPlayer.h causes a world rebuild.
Attachments
Patch (65.70 KB, patch)
2015-05-19 16:33 PDT, Jer Noble
eric.carlson: review+
Patch for landing (65.55 KB, patch)
2015-05-20 12:23 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2015-05-19 16:33:09 PDT
WebKit Commit Bot
Comment 2 2015-05-19 16:36:03 PDT
Attachment 253410 [details] did not pass style-queue: ERROR: Source/WebCore/html/HTMLMediaElementEnums.h:47: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] ERROR: Source/WebCore/html/HTMLMediaElementEnums.h:48: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] Total errors found: 2 in 31 files If any of these errors are false positives, please file a bug against check-webkit-style.
Eric Carlson
Comment 3 2015-05-20 09:43:41 PDT
Comment on attachment 253410 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253410&action=review > Source/WebCore/html/HTMLMediaElementEnums.h:45 > + enum DelayedActionType { > + LoadMediaResource = 1 << 0, > + ConfigureTextTracks = 1 << 1, > + TextTrackChangesNotification = 1 << 2, > + ConfigureTextTrackDisplay = 1 << 3, > + CheckPlaybackTargetCompatablity = 1 << 4, > + > + EveryDelayedAction = LoadMediaResource | ConfigureTextTracks | TextTrackChangesNotification | ConfigureTextTrackDisplay | CheckPlaybackTargetCompatablity, > + }; Does this need to be visible outside of HTMLMediaElement?
Jer Noble
Comment 4 2015-05-20 09:47:00 PDT
(In reply to comment #3) > Comment on attachment 253410 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=253410&action=review > > > Source/WebCore/html/HTMLMediaElementEnums.h:45 > > + enum DelayedActionType { > > + LoadMediaResource = 1 << 0, > > + ConfigureTextTracks = 1 << 1, > > + TextTrackChangesNotification = 1 << 2, > > + ConfigureTextTrackDisplay = 1 << 3, > > + CheckPlaybackTargetCompatablity = 1 << 4, > > + > > + EveryDelayedAction = LoadMediaResource | ConfigureTextTracks | TextTrackChangesNotification | ConfigureTextTrackDisplay | CheckPlaybackTargetCompatablity, > > + }; > > Does this need to be visible outside of HTMLMediaElement? It does to HTMLAudioElement, but it should go inside protected:, along with all the methods which take or return it.
Jer Noble
Comment 5 2015-05-20 12:23:15 PDT
Created attachment 253456 [details] Patch for landing
WebKit Commit Bot
Comment 6 2015-05-20 12:40:09 PDT
Attachment 253456 [details] did not pass style-queue: ERROR: Source/WebCore/html/HTMLMediaElementEnums.h:47: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] ERROR: Source/WebCore/html/HTMLMediaElementEnums.h:48: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] Total errors found: 2 in 31 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jer Noble
Comment 7 2015-05-20 16:12:21 PDT
Note You need to log in before you can comment on or make changes to this bug.