Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Issue 535703002: HTMLMediaElement shouldn't call currentTime() when we HAVE_NOTHING. (Closed)

Created:
6 years, 3 months ago by scherkus (not reviewing)
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Tighten up preconditions for calling WebMediaPlayer::currentTime(). HTMLMediaElement shouldn't call WebMediaPlayer::currentTime() when we HAVE_NOTHING. Doing so leaks spec implementation details into lower levels of the stack. Also remove some old crufty time-related code. BUG=349543, 370634 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181329

Patch Set 1 #

Total comments: 12

Patch Set 2 : fixes #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -20 lines) Patch
M Source/core/html/HTMLMediaElement.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLMediaElement.cpp View 1 5 chunks +4 lines, -18 lines 2 comments Download

Messages

Total messages: 14 (5 generated)
scherkus (not reviewing)
6 years, 3 months ago (2014-09-02 23:42:34 UTC) #2
acolwell GONE FROM CHROMIUM
Just a few minor comments. https://codereview.chromium.org/535703002/diff/1/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/535703002/diff/1/Source/core/html/HTMLMediaElement.cpp#newcode795 Source/core/html/HTMLMediaElement.cpp:795: refreshCachedTime(); I think you ...
6 years, 3 months ago (2014-09-03 00:21:42 UTC) #3
scherkus (not reviewing)
PTAL https://codereview.chromium.org/535703002/diff/1/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/535703002/diff/1/Source/core/html/HTMLMediaElement.cpp#newcode795 Source/core/html/HTMLMediaElement.cpp:795: refreshCachedTime(); On 2014/09/03 00:21:42, acolwell wrote: > I ...
6 years, 3 months ago (2014-09-03 03:27:45 UTC) #6
philipj_slow
LGTM, but can you qualify the commit message to say WebMediaPlayer::currentTime()? I was expecting HTMLMediaElement::currentTime() ...
6 years, 3 months ago (2014-09-03 09:06:06 UTC) #7
philipj_slow
https://codereview.chromium.org/535703002/diff/60001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/535703002/diff/60001/Source/core/html/HTMLMediaElement.cpp#newcode2046 Source/core/html/HTMLMediaElement.cpp:2046: if (!webMediaPlayer() || m_readyState < HAVE_METADATA) This reminds me ...
6 years, 3 months ago (2014-09-03 09:11:01 UTC) #9
scherkus (not reviewing)
https://codereview.chromium.org/535703002/diff/60001/Source/core/html/HTMLMediaElement.cpp File Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/535703002/diff/60001/Source/core/html/HTMLMediaElement.cpp#newcode2046 Source/core/html/HTMLMediaElement.cpp:2046: if (!webMediaPlayer() || m_readyState < HAVE_METADATA) On 2014/09/03 09:11:00, ...
6 years, 3 months ago (2014-09-03 17:03:45 UTC) #10
scherkus (not reviewing)
On 2014/09/03 09:06:06, philipj wrote: > LGTM, but can you qualify the commit message to ...
6 years, 3 months ago (2014-09-03 17:04:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/535703002/60001
6 years, 3 months ago (2014-09-03 17:06:45 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-03 17:11:17 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as 181329

Powered by Google App Engine
This is Rietveld 408576698