Index: ui/views/controls/textfield/textfield.cc |
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc |
index 271f29a4b1f6903d3c3c53c17d04cb9342b3ea84..2934ad5ea30b9273532c70a312b5211fd1e42f43 100644 |
--- a/ui/views/controls/textfield/textfield.cc |
+++ b/ui/views/controls/textfield/textfield.cc |
@@ -1641,7 +1641,7 @@ void Textfield::AccessibilitySetValue(const base::string16& new_value) { |
void Textfield::UpdateBackgroundColor() { |
const SkColor color = GetBackgroundColor(); |
set_background(Background::CreateSolidBackground(color)); |
- GetRenderText()->set_background_is_transparent(SkColorGetA(color) != 0xFF); |
+ GetRenderText()->set_subpixel_rendering_enabled(SkColorGetA(color) == 0xFF); |
SchedulePaint(); |
} |