Index: content/browser/media/media_web_contents_observer.cc |
diff --git a/content/browser/media/media_web_contents_observer.cc b/content/browser/media/media_web_contents_observer.cc |
index d49b495b0eff968bdd7137a52f6626a93a886318..2098facfba14bcc742a7d8407a4fbeceb03a0f31 100644 |
--- a/content/browser/media/media_web_contents_observer.cc |
+++ b/content/browser/media/media_web_contents_observer.cc |
@@ -62,9 +62,7 @@ void MediaWebContentsObserver::MaybeUpdateAudibleState() { |
} |
bool MediaWebContentsObserver::HasActiveEffectivelyFullscreenVideo() const { |
- DCHECK(web_contents()->IsFullscreen()); |
- |
- if (!fullscreen_player_) |
+ if (!web_contents()->IsFullscreen() || !fullscreen_player_) |
return false; |
// Check that the player is active. |