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

Unified Diff: base/process_util_mac.mm

Issue 10837158: mac: Delete more 10.5-only code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: avi Created 8 years, 4 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_util_mac.mm
diff --git a/base/process_util_mac.mm b/base/process_util_mac.mm
index df539df21a42326dd77f98fc89aaf5d13ed6f614..90fe56d080e08cbff32772169ee8583fef04f28d 100644
--- a/base/process_util_mac.mm
+++ b/base/process_util_mac.mm
@@ -775,7 +775,7 @@ bool CanGetContextForCFAllocator() {
}
CFAllocatorContext* ContextForCFAllocator(CFAllocatorRef allocator) {
- if (base::mac::IsOSLeopard() || base::mac::IsOSSnowLeopard()) {
+ if (base::mac::IsOSSnowLeopardOrEarlier()) {
ChromeCFAllocatorLeopards* our_allocator =
const_cast<ChromeCFAllocatorLeopards*>(
reinterpret_cast<const ChromeCFAllocatorLeopards*>(allocator));

Powered by Google App Engine
This is Rietveld 408576698