browser: handle desktop capture devices in media permission request

This commit is contained in:
Robo 2016-02-12 05:07:06 +05:30
parent 027b5345f8
commit c09ff40916

View file

@ -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);
}