From 15a73be295775a09e3f1ea0adc6a82e03a79d204 Mon Sep 17 00:00:00 2001 From: landrey Date: Tue, 17 May 2022 21:24:32 +0000 Subject: [PATCH] Update apprtc example code to support macos 10.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Commit-Queue: Kári Helgason Reviewed-by: Mirko Bonadei Reviewed-by: Kári Helgason Commit-Queue: Andrey Logvin Cr-Commit-Position: refs/heads/main@{#36918} --- examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m b/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m index 7ca63ecad6..36a470021d 100644 --- a/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m +++ b/examples/objc/AppRTCMobile/mac/APPRTCAppDelegate.m @@ -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