DescriptionRemove HTMLMediaElement::setPausedInternal()
The bits in updatePlayState() could have been inlined into stop(), but
none of it is useful:
- isPlaying is always false because of userCancelledLoad() ->
clearMediaPlayer(), so webMediaPlayer()->pause() is dead code.
- refreshCachedTime() will do nothing for the same reason.
- m_playbackProgressTimer.stop() is done by stopPeriodicTimers().
- mediaControls()->playbackStopped() is pointless because the document
is no longer doing layout/rendering.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182422
Patch Set 1 #
Total comments: 1
Patch Set 2 : m_pausedInternal #
Messages
Total messages: 8 (2 generated)
|