Changeset 199986 in webkit


Ignore:
Timestamp:
Apr 25, 2016 3:26:53 AM (8 years ago)
Author:
youenn.fablet@crf.canon.fr
Message:

Drop [UsePointersEvenForNonNullableObjectArguments] from TextTrack
https://bugs.webkit.org/show_bug.cgi?id=156899

Reviewed by Chris Dumez.

No behavior changes.

  • html/track/TextTrack.idl: Marking cue and region parameter as nullable.

Also marking cues and activeCues as nullable attributes.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r199985 r199986  
     12016-04-25  Youenn Fablet  <youenn.fablet@crf.canon.fr>
     2
     3        Drop [UsePointersEvenForNonNullableObjectArguments] from TextTrack
     4        https://bugs.webkit.org/show_bug.cgi?id=156899
     5
     6        Reviewed by Chris Dumez.
     7
     8        No behavior changes.
     9
     10        * html/track/TextTrack.idl: Marking cue and region parameter as nullable.
     11        Also marking cues and activeCues as nullable attributes.
     12
    1132016-04-25  Youenn Fablet  <youenn.fablet@crf.canon.fr>
    214
  • trunk/Source/WebCore/html/track/TextTrack.idl

    r198833 r199986  
    2929[
    3030    Conditional=VIDEO_TRACK,
    31     UsePointersEvenForNonNullableObjectArguments,
    3231    GenerateIsReachable=ImplElementRoot,
    3332    JSCustomMarkFunction,
     
    4241    attribute TextTrackMode mode;
    4342
    44     readonly attribute TextTrackCueList cues;
    45     readonly attribute TextTrackCueList activeCues;
     43    readonly attribute TextTrackCueList? cues;
     44    readonly attribute TextTrackCueList? activeCues;
    4645
    47     [RaisesException] void addCue(TextTrackCue cue);
    48     [RaisesException] void removeCue(TextTrackCue cue);
     46    // FIXME: cue parameter should not be nullable in addCue and removeCue.
     47    [RaisesException] void addCue(TextTrackCue? cue);
     48    [RaisesException] void removeCue(TextTrackCue? cue);
    4949
    5050    attribute EventHandler oncuechange;
     
    5252#if !defined(LANGUAGE_GOBJECT) || !LANGUAGE_GOBJECT // Work around shortcomings in the gobject binding generator handling of conditional features by turning these off for gobject.
    5353    readonly attribute VTTRegionList regions;
    54     void addRegion(VTTRegion region);
    55     [RaisesException] void removeRegion(VTTRegion region);
     54    // FIXME: region parameter should not be nullable in addRegion and removeRegion.
     55    void addRegion(VTTRegion? region);
     56    [RaisesException] void removeRegion(VTTRegion? region);
    5657#endif
    5758};
Note: See TracChangeset for help on using the changeset viewer.