DescriptionSimplify calls to HTMLMediaElement::createMediaControls()
All calls to the above method is currently guarded by a check of the
predicate hasMediaControls(). The first thing createMediaControls() does
though is to check the same predicate.
Remove the checks at the callsites and leave the checking to
createMediaControls().
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181403
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|