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:
@ -30,7 +30,7 @@
|
|||||||
NSMidY(visibleRect),
|
NSMidY(visibleRect),
|
||||||
1320,
|
1320,
|
||||||
1140);
|
1140);
|
||||||
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask;
|
NSUInteger styleMask = NSWindowStyleMaskTitled | NSWindowStyleMaskClosable;
|
||||||
_window = [[NSWindow alloc] initWithContentRect:windowRect
|
_window = [[NSWindow alloc] initWithContentRect:windowRect
|
||||||
styleMask:styleMask
|
styleMask:styleMask
|
||||||
backing:NSBackingStoreBuffered
|
backing:NSBackingStoreBuffered
|
||||||
|
|||||||
Reference in New Issue
Block a user