Index: base/mac/mac_util_unittest.mm |
=================================================================== |
--- base/mac/mac_util_unittest.mm (revision 170797) |
+++ base/mac/mac_util_unittest.mm (working copy) |
@@ -158,7 +158,8 @@ |
EXPECT_FALSE(IsOSLionOrLater()); |
EXPECT_FALSE(IsOSMountainLion()); |
EXPECT_FALSE(IsOSMountainLionOrLater()); |
- EXPECT_FALSE(IsOSLaterThanMountainLion_DontCallThis()); |
+ EXPECT_FALSE( |
+ IsOSDangerouslyLaterThanMountainLionForUseByCFAllocatorReplacement()); |
} else if (minor == 7) { |
EXPECT_FALSE(IsOSSnowLeopard()); |
EXPECT_TRUE(IsOSLion()); |
@@ -166,7 +167,8 @@ |
EXPECT_TRUE(IsOSLionOrLater()); |
EXPECT_FALSE(IsOSMountainLion()); |
EXPECT_FALSE(IsOSMountainLionOrLater()); |
- EXPECT_FALSE(IsOSLaterThanMountainLion_DontCallThis()); |
+ EXPECT_FALSE( |
+ IsOSDangerouslyLaterThanMountainLionForUseByCFAllocatorReplacement()); |
} else if (minor == 8) { |
EXPECT_FALSE(IsOSSnowLeopard()); |
EXPECT_FALSE(IsOSLion()); |
@@ -174,7 +176,8 @@ |
EXPECT_TRUE(IsOSLionOrLater()); |
EXPECT_TRUE(IsOSMountainLion()); |
EXPECT_TRUE(IsOSMountainLionOrLater()); |
- EXPECT_FALSE(IsOSLaterThanMountainLion_DontCallThis()); |
+ EXPECT_FALSE( |
+ IsOSDangerouslyLaterThanMountainLionForUseByCFAllocatorReplacement()); |
} else { |
// Not five, six, seven, or eight. Ah, ah, ah. |
EXPECT_TRUE(false); |