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

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

Issue 2753013002: DCHECK that the security origin for a media request isn't empty (Closed)
Patch Set: DCHECK that the security origin for a media request isn't empty 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
« no previous file with comments | « content/public/common/media_stream_request.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/user_media_client_impl.cc
diff --git a/content/renderer/media/user_media_client_impl.cc b/content/renderer/media/user_media_client_impl.cc
index 771ed274a147638e3a8f74e7ed8914c47c76a900..b64c94bee8459905b6d2eec6eb2d8c56881cf11a 100644
--- a/content/renderer/media/user_media_client_impl.cc
+++ b/content/renderer/media/user_media_client_impl.cc
@@ -1031,8 +1031,8 @@ void UserMediaClientImpl::DelayedGetUserMediaRequestFailed(
case MEDIA_DEVICE_NO_HARDWARE:
request.requestFailedUASpecific("DevicesNotFoundError");
return;
- case MEDIA_DEVICE_INVALID_SECURITY_ORIGIN:
- request.requestFailedUASpecific("InvalidSecurityOriginError");
+ case MEDIA_DEVICE_INVALID_SECURITY_ORIGIN_DEPRECATED:
+ NOTREACHED();
return;
case MEDIA_DEVICE_TAB_CAPTURE_FAILURE:
request.requestFailedUASpecific("TabCaptureError");
« no previous file with comments | « content/public/common/media_stream_request.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698