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

Unified Diff: content/renderer/render_view_impl.cc

Issue 14758008: Update the HTML Media Capture implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix attempt. Created 7 years, 5 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
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 98c2b6928ac1d3531cf872de15dab108a3866f0b..6c88009965e66be292ce0619399cf62fd66b65d4 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2399,7 +2399,7 @@ bool RenderViewImpl::runFileChooser(
for (size_t i = 0; i < params.acceptTypes.size(); ++i)
ipc_params.accept_types.push_back(params.acceptTypes[i]);
#if defined(OS_ANDROID)
- ipc_params.capture = params.capture;
+ ipc_params.capture = params.useMediaCapture;
#endif
return ScheduleFileChooser(ipc_params, chooser_completion);
« no previous file with comments | « content/public/common/file_chooser_params.h ('k') | ui/android/java/src/org/chromium/ui/SelectFileDialog.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698