Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: base/process_util_mac.mm

Issue 9706001: [Mac] Add the OS version check functions for 10.8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: IsOSMountainLionOrEarlier Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« base/mac/mac_util.h ('K') | « base/mac/mac_util_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_mac.mm
diff --git a/base/process_util_mac.mm b/base/process_util_mac.mm
index 6b39a614e4404d81991f0694159ed76e89e86d8b..ac1f69e2de48ed2b1d97b2ac4fb8746a8f99af7a 100644
--- a/base/process_util_mac.mm
+++ b/base/process_util_mac.mm
@@ -718,7 +718,7 @@ void oom_killer_new() {
// === Core Foundation CFAllocators ===
bool CanGetContextForCFAllocator() {
- return !base::mac::IsOSLaterThanLion();
+ return !base::mac::IsOSDangerouslyLaterThanMountainLionForUseByCFAllocatorReplacement();
}
CFAllocatorContext* ContextForCFAllocator(CFAllocatorRef allocator) {
« base/mac/mac_util.h ('K') | « base/mac/mac_util_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698