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

Unified Diff: media/blink/webmediaplayer_impl.cc

Issue 2651533007: [Video] Remove wrong DCHECK from EnableVideoTrackIfNeeded (Closed)
Patch Set: Created 3 years, 11 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 71cfc3580dc8a49da32e1b4e2856bf1449ddc19a..e94d5e06b05c2f39e77a9c377af2e0446c4d1231 100644
--- a/media/blink/webmediaplayer_impl.cc
+++ b/media/blink/webmediaplayer_impl.cc
@@ -2181,8 +2181,6 @@ bool WebMediaPlayerImpl::IsBackgroundOptimizationCandidate() const {
}
void WebMediaPlayerImpl::EnableVideoTrackIfNeeded() {
- DCHECK(!IsHidden());
-
// Don't change video track while the pipeline is resuming or seeking.
if (is_pipeline_resuming_ || seeking_)
return;
« 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