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

Unified Diff: content/browser/renderer_host/media/media_stream_device_settings.cc

Issue 10177008: Shift media_stream::StreamOptions to align with the new getUserMedia spec (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
Index: content/browser/renderer_host/media/media_stream_device_settings.cc
diff --git a/content/browser/renderer_host/media/media_stream_device_settings.cc b/content/browser/renderer_host/media/media_stream_device_settings.cc
index 328a1eb5e8fc9747b286a159f35cf21d9b91f024..7ffb3138289d035e72b6a7abe9dc42028efa66a0 100644
--- a/content/browser/renderer_host/media/media_stream_device_settings.cc
+++ b/content/browser/renderer_host/media/media_stream_device_settings.cc
@@ -150,7 +150,7 @@ void MediaStreamDeviceSettings::AvailableDevices(
if (request->options.audio) {
num_media_requests++;
}
- if (request->options.video_option != StreamOptions::kNoCamera) {
+ if (request->options.video) {
num_media_requests++;
}

Powered by Google App Engine
This is Rietveld 408576698