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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 2367633002: Merge M54: "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 45fb182dc14d7dc72c76ed52aa24d76b14eeb795..686b7e776b9a3760ad3e2b69903d9b63894da5be 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -390,6 +390,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