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

Issue 334002: Use a saved copy of the time when pausing media elements. (Closed)

Created:
11 years, 2 months ago by scherkus (not reviewing)
Modified:
9 years, 7 months ago
Reviewers:
Alpha Left Google
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Use a saved copy of the time when pausing media elements. Since our internal pause is asynchronous and we don't want to hang the render thread, it's possible to have our clock creep ahead. This produces unexpected behaviour when pausing media elements, such as seeing currentTime attribute nudge a little ahead after calling pause(). This so happens to also address layout test flakiness. BUG=13907 TEST=layout tests, especially video-pause-immediately.html -- a new layout test I wrote and am upstreaming Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29851

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M webkit/glue/webmediaplayer_impl.h View 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/glue/webmediaplayer_impl.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scherkus (not reviewing)
11 years, 2 months ago (2009-10-23 00:53:26 UTC) #1
Alpha Left Google
11 years, 2 months ago (2009-10-23 00:54:35 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698