Skip to content

Commit

Permalink
Update src/webview/webview2/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Amr Bashir <[email protected]>
  • Loading branch information
jhutchins and amrbashir committed Jul 4, 2023
1 parent f51bb6b commit f488c58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/webview/webview2/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1076,8 +1076,6 @@ fn get_windows_ver() -> Option<(u32, u32, u32)> {

fn url_from_webview(webview: &ICoreWebView2) -> String {
let mut pwstr = PWSTR::null();

unsafe { webview.Source(&mut pwstr).unwrap() };

take_pwstr(pwstr)
}

0 comments on commit f488c58

Please sign in to comment.