browser: handle desktop capture devices in media permission request
This commit is contained in:
parent
027b5345f8
commit
c09ff40916
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ void MediaAccessAllowed(
|
|||
bool allowed) {
|
||||
brightray::MediaStreamDevicesController controller(request, callback);
|
||||
if (allowed)
|
||||
controller.Accept();
|
||||
controller.TakeAction();
|
||||
else
|
||||
controller.Deny(content::MEDIA_DEVICE_PERMISSION_DENIED);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue