Index: chrome/browser/chromeos/login/username_view.cc |
=================================================================== |
--- chrome/browser/chromeos/login/username_view.cc (revision 104769) |
+++ chrome/browser/chromeos/login/username_view.cc (working copy) |
@@ -113,8 +113,9 @@ |
// Draw the text. |
// Note, direct call of the DrawStringInt method produces the green dots |
// along the text perimeter (when the label is place on the white background). |
+ SkColor text_color = IsEnabled() ? enabled_color() : disabled_color(); |
SkColor kInvisibleHaloColor = 0x00000000; |
- canvas.DrawStringWithHalo(GetText(), font(), GetColor(), |
+ canvas.DrawStringWithHalo(GetText(), font(), text_color, |
kInvisibleHaloColor, bounds.x() + margin_width_, |
bounds.y(), bounds.width() - 2 * margin_width_, |
bounds.height(), flags); |