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

Unified Diff: base/process/memory_mac.mm

Issue 25286002: Update OS version functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: uma Created 7 years, 3 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
Index: base/process/memory_mac.mm
diff --git a/base/process/memory_mac.mm b/base/process/memory_mac.mm
index dd30e704c8ffc0d98ed17b1b0706db625490e324..6fba300ccd37bc9adeaf2697ee7ab5f8e4f5c564 100644
--- a/base/process/memory_mac.mm
+++ b/base/process/memory_mac.mm
@@ -422,7 +422,7 @@ void oom_killer_new() {
// === Core Foundation CFAllocators ===
bool CanGetContextForCFAllocator() {
- return !base::mac::IsOSLaterThanMountainLion_DontCallThis();
+ return !base::mac::IsOSMavericksOrLater();
}
CFAllocatorContext* ContextForCFAllocator(CFAllocatorRef allocator) {

Powered by Google App Engine
This is Rietveld 408576698