DescriptionClean up HTMLTrackElement.kind invalid/missing value default handling
Get rid of the isValidKind(...) and invalidValueDefaultKind() virtual
methods on TrackBase and do any required checking "up front" instead
as required. This should present less surprises and work in a less
side-effectful way.
Also start setting the 'kind' directly in the constructor rather than
invoking setKind() in (all) the constructor body (bodies).
Drop some redundant parenthesis and fix some obviously "wrong" names
in TextTrack.cpp.
BUG=608772
Committed: https://crrev.com/80ef82107b8f9c2cd1bc707d86bc0fd8bc8cd338
Cr-Commit-Position: refs/heads/master@{#393812}
Patch Set 1 #Messages
Total messages: 9 (3 generated)
|