| Index: content/shell/webkit_test_platform_support_mac.mm
|
| diff --git a/content/shell/webkit_test_platform_support_mac.mm b/content/shell/webkit_test_platform_support_mac.mm
|
| index 99bda5d40a2cb64dd88c3378cb26874141126413..83db7e5b39af74651ac0a2770537fe0abb1499c2 100644
|
| --- a/content/shell/webkit_test_platform_support_mac.mm
|
| +++ b/content/shell/webkit_test_platform_support_mac.mm
|
| @@ -19,14 +19,11 @@ void SetDefaultsToLayoutTestValues(void) {
|
| // the settings are in before any higher layers could cache values.)
|
|
|
| NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
| -
|
| - const NSInteger kMinFontSizeCGSmoothes = 4;
|
| - const NSInteger kNoFontSmoothing = 0;
|
| + // Do not set text-rendering prefs (AppleFontSmoothing,
|
| + // AppleAntiAliasingThreshold) here: Skia picks the right settings for this
|
| + // in layout test mode, see FontSkia.cpp in WebKit and
|
| + // SkFontHost_mac_coretext.cpp in skia.
|
| const NSInteger kBlueTintedAppearance = 1;
|
| - [defaults setInteger:kMinFontSizeCGSmoothes
|
| - forKey:@"AppleAntiAliasingThreshold"];
|
| - [defaults setInteger:kNoFontSmoothing
|
| - forKey:@"AppleFontSmoothing"];
|
| [defaults setInteger:kBlueTintedAppearance
|
| forKey:@"AppleAquaColorVariant"];
|
| [defaults setObject:@"0.709800 0.835300 1.000000"
|
|
|