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 d32b7cc1dc744a1ad9674bfca7a2f5db2bf6f8e0..3b287ace42520fab72df9231b3d6e342dba278b8 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2493,7 +2493,11 @@ void WebContentsImpl::InsertCSS(const std::string& css) { |
} |
bool WebContentsImpl::WasRecentlyAudible() { |
+#if defined(ENABLE_BROWSER_CDMS) && defined(OS_ANDROID) |
no sievers
2015/02/10 01:33:03
Why is there an #ifdef here?
Can you put a comment
Tima Vaisburd
2015/02/11 03:34:05
Added a comment, please take a look.
|
+ return media_web_contents_observer_->IsAudible(); |
+#else |
return audio_stream_monitor_.WasRecentlyAudible(); |
+#endif |
} |
void WebContentsImpl::GetManifest(const GetManifestCallback& callback) { |