Skip to content

Commit

Permalink
Un-uncomment code
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 8, 2024
1 parent b71e32f commit 82501a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ impl Layer {
/// [layer-backed]: https://developer.apple.com/documentation/appkit/nsview/1483695-wantslayer?language=objc
/// [`AppKitWindowHandle`]: https://docs.rs/raw-window-handle/0.6.2/raw_window_handle/struct.AppKitWindowHandle.html
pub unsafe fn from_ns_view(ns_view_ptr: NonNull<c_void>) -> Self {
// let _mtm = MainThreadMarker::new().expect("can only access NSView on the main thread");
let _mtm = MainThreadMarker::new().expect("can only access NSView on the main thread");

// SAFETY: Caller ensures that the pointer is a valid `NSView`.
//
Expand Down

0 comments on commit 82501a9

Please sign in to comment.