+ if (base::mac::IsOSSnowLeopard()) {
+ // Manually transferring the drawsBackground and backgroundColor
+ // properties is necessary to ensure anti-aliased text on 10.6.
+ [autocompleteTextFieldEditor_
+ setDrawsBackground:[locationBar_ drawsBackground]];
+ [autocompleteTextFieldEditor_
+ setBackgroundColor:[locationBar_ backgroundColor]];
+ }