Update to non-deprecated constants
When Apple introduced Swift, they renamed all the AppKit Objective-C constants to have a shared prefix for ease of bridging, and deprecated all the old names. These new names were introduced in the macOS 10.12 and 10.14 SDKs, but compile down to the same constant values so they can be deployed all the way back to 10.0. Bug: chromium:1322548 Change-Id: Ib3cacbe493e97ca43dd180047eacbd2866d70016 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262180 Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Reviewed-by: Mark Foltz <mfoltz@chromium.org> Auto-Submit: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/main@{#36874}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
81d65fcf7d
commit
e5fb8512b0
@ -61,7 +61,7 @@
|
||||
NSInteger yOrigin = nextYOrigin_;
|
||||
NSRect windowFrame = NSMakeRect(xOrigin, yOrigin, width_, height_);
|
||||
window_ = [[NSWindow alloc] initWithContentRect:windowFrame
|
||||
styleMask:NSTitledWindowMask
|
||||
styleMask:NSWindowStyleMaskTitled
|
||||
backing:NSBackingStoreBuffered
|
||||
defer:NO];
|
||||
|
||||
|
Reference in New Issue
Block a user