Skip to content

Commit

Permalink
Merge pull request #4599 from ghostoy/issue-4579
Browse files Browse the repository at this point in the history
Fixed similar issue of #4579 for `nw.Screen.DesktopCaptureMonitor`
  • Loading branch information
rogerwang committed Mar 19, 2016
2 parents 9c27ad6 + eff0034 commit 6bf32e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/nw_screen_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ namespace extensions {
content::RenderFrameHost* const main_frame = web_contents->GetMainFrame();
result = registry->RegisterStream(main_frame->GetProcess()->GetID(),
main_frame->GetRoutingID(),
extension()->url(),
web_contents->GetURL().GetOrigin(),
source,
extension()->name());
response->AppendString(result);
Expand Down

0 comments on commit 6bf32e6

Please sign in to comment.