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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 2363813002: Clear pause timer upon start of a playback. (Closed)
Patch Set: Created 4 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl.cc
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc
index 4fa8e7663fe67b9d25766a397a0710458ec13b83..7c67743e982b430e3c7794a1e1d2a3310806ee3c 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -395,6 +395,7 @@ void WebMediaPlayerImpl::play() {
paused_ = false;
is_idle_ = false;
pipeline_.SetPlaybackRate(playback_rate_);
+ background_pause_timer_.Stop();
if (data_source_)
data_source_->MediaIsPlaying();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698