| Index: views/controls/link.cc
|
| ===================================================================
|
| --- views/controls/link.cc (revision 55911)
|
| +++ views/controls/link.cc (working copy)
|
| @@ -211,15 +211,15 @@
|
|
|
| void Link::ValidateStyle() {
|
| if (enabled_) {
|
| - if (!(font().style() & gfx::Font::UNDERLINED)) {
|
| + if (!(font().GetStyle() & gfx::Font::UNDERLINED)) {
|
| Label::SetFont(
|
| - font().DeriveFont(0, font().style() | gfx::Font::UNDERLINED));
|
| + font().DeriveFont(0, font().GetStyle() | gfx::Font::UNDERLINED));
|
| }
|
| Label::SetColor(highlighted_ ? highlighted_color_ : normal_color_);
|
| } else {
|
| - if (font().style() & gfx::Font::UNDERLINED) {
|
| + if (font().GetStyle() & gfx::Font::UNDERLINED) {
|
| Label::SetFont(
|
| - font().DeriveFont(0, font().style() & ~gfx::Font::UNDERLINED));
|
| + font().DeriveFont(0, font().GetStyle() & ~gfx::Font::UNDERLINED));
|
| }
|
| Label::SetColor(disabled_color_);
|
| }
|
|
|