diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 15:01:12 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-03 15:01:12 +0000 |
commit | 52a261f59b20e89f8c5936bce642362f8e367b57 (patch) | |
tree | fcc7b3c100caaf43848cd9a241beafc883f93b7d /base/sys_info_mac.cc | |
parent | 7d926f9072ac496db6df715cc6a6bd5d3f9bd011 (diff) | |
download | chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.zip chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.tar.gz chromium_src-52a261f59b20e89f8c5936bce642362f8e367b57.tar.bz2 |
NO CODE CHANGE (except one global std::wstring changed to const wchar_t* const per style compliance).
Preliminary work to enforce new PRESUBMIT.py rules:
- <=80 cols
- no trailing whitespaces
- svn:eol-style=LF
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10791 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/sys_info_mac.cc')
-rw-r--r-- | base/sys_info_mac.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/sys_info_mac.cc b/base/sys_info_mac.cc index cd93ce9..2943066 100644 --- a/base/sys_info_mac.cc +++ b/base/sys_info_mac.cc @@ -9,7 +9,7 @@ namespace base { // static -void SysInfo::OperatingSystemVersionNumbers(int32 *major_version, +void SysInfo::OperatingSystemVersionNumbers(int32 *major_version, int32 *minor_version, int32 *bugfix_version) { static bool is_initialized = false; @@ -19,11 +19,11 @@ void SysInfo::OperatingSystemVersionNumbers(int32 *major_version, if (!is_initialized) { // Gestalt can't be called in the sandbox, so we cache its return value. - Gestalt(gestaltSystemVersionMajor, + Gestalt(gestaltSystemVersionMajor, reinterpret_cast<SInt32*>(&major_version_cached)); - Gestalt(gestaltSystemVersionMinor, + Gestalt(gestaltSystemVersionMinor, reinterpret_cast<SInt32*>(&minor_version_cached)); - Gestalt(gestaltSystemVersionBugFix, + Gestalt(gestaltSystemVersionBugFix, reinterpret_cast<SInt32*>(&bugfix_version_cached)); is_initialized = true; } |