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

Unified Diff: content/renderer/media/media_stream_constraints_util_video_content.cc

Issue 2750163002: Use spec-compliant algorithm for video content-capture deviceId selection in getUserMedia. (Closed)
Patch Set: address review comments and rebase Created 3 years, 9 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/media/media_stream_constraints_util_video_content.cc
diff --git a/content/renderer/media/media_stream_constraints_util_video_content.cc b/content/renderer/media/media_stream_constraints_util_video_content.cc
index e13c2439c3a497d45d988f851d942fcadf11b663..0376be5c5c27da77d784bc863e6d9c1bedd9d08c 100644
--- a/content/renderer/media/media_stream_constraints_util_video_content.cc
+++ b/content/renderer/media/media_stream_constraints_util_video_content.cc
@@ -252,6 +252,10 @@ VideoContentCaptureSourceSelectionResult UnsatisfiedConstraintsResult(
} // namespace
VideoContentCaptureSourceSelectionResult::
+ VideoContentCaptureSourceSelectionResult()
+ : VideoContentCaptureSourceSelectionResult("") {}
+
+VideoContentCaptureSourceSelectionResult::
VideoContentCaptureSourceSelectionResult(const char* failed_constraint_name)
: failed_constraint_name_(failed_constraint_name) {}
« no previous file with comments | « content/renderer/media/media_stream_constraints_util_video_content.h ('k') | content/renderer/media/user_media_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698