Skip to content

Commit

Permalink
Merge pull request electron#4449 from deepak1556/permission_helper_me…
Browse files Browse the repository at this point in the history
…dia_patch

browser: handle desktop capture devices in media permission request
  • Loading branch information
zcbenz committed Feb 15, 2016
2 parents 08e5c1f + c09ff40 commit f3f6fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atom/browser/web_contents_permission_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f3f6fa9

Please sign in to comment.