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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2809803002: Fix a linker error when enable_webrtc is false on Android (Closed)
Patch Set: Created 3 years, 8 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: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 1a6a8c73cbdba81009c48c6939068614d581781c..7d6113cf65bf6f2f7270097e668eff44b6c7feb7 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2510,6 +2510,7 @@ bool RenderViewImpl::DidTapMultipleTargets(
}
void RenderViewImpl::SuspendVideoCaptureDevices(bool suspend) {
+#if BUILDFLAG(ENABLE_WEBRTC)
if (!main_render_frame_)
return;
@@ -2522,6 +2523,7 @@ void RenderViewImpl::SuspendVideoCaptureDevices(bool suspend) {
media_stream_dispatcher->GetNonScreenCaptureDevices();
RenderThreadImpl::current()->video_capture_impl_manager()->SuspendDevices(
video_array, suspend);
+#endif // BUILDFLAG(ENABLE_WEBRTC)
}
#endif // defined(OS_ANDROID)
« 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