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

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

Issue 2872913003: Do not pass the origin to MediaDevicesDispatcherHost. (Closed)
Patch Set: Add tests with unique origin Created 3 years, 7 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/audio_output_authorization_handler.cc
diff --git a/content/browser/renderer_host/media/audio_output_authorization_handler.cc b/content/browser/renderer_host/media/audio_output_authorization_handler.cc
index 607b92db194b6f2053d0c3bba00f1c7223d1fa2f..a2866d2557b708235ccbb01cc1a1d079f529070e 100644
--- a/content/browser/renderer_host/media/audio_output_authorization_handler.cc
+++ b/content/browser/renderer_host/media/audio_output_authorization_handler.cc
@@ -125,7 +125,6 @@ void AudioOutputAuthorizationHandler::RequestDeviceAuthorization(
// nondefault devices.
permission_checker_->CheckPermission(
MEDIA_DEVICE_TYPE_AUDIO_OUTPUT, render_process_id_, render_frame_id,
- security_origin,
base::Bind(&AudioOutputAuthorizationHandler::AccessChecked,
weak_factory_.GetWeakPtr(), std::move(cb), device_id,
security_origin));

Powered by Google App Engine
This is Rietveld 408576698