summaryrefslogtreecommitdiffstats
path: root/views/controls/link.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/link.cc')
-rw-r--r--views/controls/link.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/controls/link.cc b/views/controls/link.cc
index aae254503..d89ce4d 100644
--- a/views/controls/link.cc
+++ b/views/controls/link.cc
@@ -131,17 +131,17 @@ void Link::SetHighlighted(bool f) {
}
void Link::ValidateStyle() {
- ChromeFont font = GetFont();
+ gfx::Font font = GetFont();
if (enabled_) {
- if ((font.style() & ChromeFont::UNDERLINED) == 0) {
+ if ((font.style() & gfx::Font::UNDERLINED) == 0) {
Label::SetFont(font.DeriveFont(0, font.style() |
- ChromeFont::UNDERLINED));
+ gfx::Font::UNDERLINED));
}
} else {
- if ((font.style() & ChromeFont::UNDERLINED) != 0) {
+ if ((font.style() & gfx::Font::UNDERLINED) != 0) {
Label::SetFont(font.DeriveFont(0, font.style() &
- ~ChromeFont::UNDERLINED));
+ ~gfx::Font::UNDERLINED));
}
}
@@ -156,7 +156,7 @@ void Link::ValidateStyle() {
}
}
-void Link::SetFont(const ChromeFont& font) {
+void Link::SetFont(const gfx::Font& font) {
Label::SetFont(font);
ValidateStyle();
}