Mac: 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
Review URL: https://codereview.chromium.org/1842213002
Cr-Commit-Position: refs/heads/master@{#384419}
CrOS-Libchrome-Original-Commit: 0ffa1e42503f51e413ef86eaf33dc8d94ef97bea
1 file changed