Update apprtc example code to support macos 10.13

It currently blocks chromium to webrtc roll after https://crrev.com/c/3646050

Bug: b/232899082
Change-Id: I87e178d91037d844fc98a28491bdfe69fa3bc9b4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262802
Auto-Submit: Andrey Logvin <landrey@webrtc.org>
Commit-Queue: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Commit-Queue: Andrey Logvin <landrey@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36918}
This commit is contained in:
landrey
2022-05-17 21:24:32 +00:00
committed by WebRTC LUCI CQ
parent 0601db9a48
commit 15a73be295

View File

@ -30,7 +30,7 @@
NSMidY(visibleRect),
1320,
1140);
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask;
NSUInteger styleMask = NSWindowStyleMaskTitled | NSWindowStyleMaskClosable;
_window = [[NSWindow alloc] initWithContentRect:windowRect
styleMask:styleMask
backing:NSBackingStoreBuffered