Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 41a767e7da3fe91aac8fa5579ed60d5240b79bb7..a1f733458b9693baf9d3397305e7ac51ec7ccb6b 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -997,7 +997,7 @@ void WebContentsImpl::NotifyNavigationStateChanged( |
InvalidateTypes changed_flags) { |
// Create and release the audio power save blocker depending on whether the |
// tab is actively producing audio or not. |
- if (changed_flags == INVALIDATE_TYPE_TAB && |
+ if ((changed_flags & INVALIDATE_TYPE_TAB) && |
AudioStreamMonitor::monitoring_available()) { |
if (WasRecentlyAudible()) { |
if (!audio_power_save_blocker_) |