DescriptionMac: Avoid deprecated use of ::Gestalt() in base/sys_info_mac
With a 10.9 deployment target, the compiler emits
'gestaltSystemVersionMajor' is deprecated: first deprecated in OS X 10.8
- Use NSProcessInfo's operatingSystemVersion property instead.
Except, operatingSystemVersion was only added to NSProcessInfo in 10.10.
Use it when it is available, and suppress the deprecation warning
otherwise.
BUG=547071
Committed: https://crrev.com/0ffa1e42503f51e413ef86eaf33dc8d94ef97bea
Cr-Commit-Position: refs/heads/master@{#384419}
Patch Set 1 #
Total comments: 3
Patch Set 2 : comment #
Total comments: 2
Patch Set 3 : clearer #
Messages
Total messages: 16 (6 generated)
|