diff --git a/src/wkwebview/mod.rs b/src/wkwebview/mod.rs index d6a0acfb3..baa8f4705 100644 --- a/src/wkwebview/mod.rs +++ b/src/wkwebview/mod.rs @@ -476,6 +476,7 @@ impl InnerWebView { ui_delegate, protocol_ptrs, is_child, + #[cfg(target_os = "macos")] parent_view: None, };