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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 1164343003: Fix WMPI::currentTime/seek race causing flaky Blink mediasource-redundant-seek.html on desktop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl.cc » ('j') | media/blink/webmediaplayer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 427357b1f615fb8388c87522829dfb97085f8b09..6ad0027716e535f2f4b034f2777214d94f523ad8 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -286,7 +286,8 @@ class MEDIA_EXPORT WebMediaPlayerImpl
// Seek gets pending if another seek is in progress. Only last pending seek
// will have effect.
bool pending_seek_;
- double pending_seek_seconds_;
+ base::TimeDelta pending_seek_time_;
+ base::TimeDelta seek_time_;
xhwang 2015/06/09 21:33:57 Move |seek_time_| to after |seeking_|?
wolenetz 2015/06/09 22:09:58 Done, with comments added, and |playback_rate_| mo
// Tracks whether to issue time changed notifications during buffering state
// changes.
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl.cc » ('j') | media/blink/webmediaplayer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698