| Index: chrome/browser/ui/views/profiles/avatar_label.cc
|
| diff --git a/chrome/browser/ui/views/profiles/avatar_label.cc b/chrome/browser/ui/views/profiles/avatar_label.cc
|
| index 2cd9d63b350178827c474d437656f7afad4b277c..7b7bad73978a0e46e38a242b13d4aa4a14ff4d6b 100644
|
| --- a/chrome/browser/ui/views/profiles/avatar_label.cc
|
| +++ b/chrome/browser/ui/views/profiles/avatar_label.cc
|
| @@ -18,7 +18,7 @@
|
|
|
| namespace {
|
|
|
| -// A custom border for the managed user avatar label.
|
| +// A custom border for the supervised user avatar label.
|
| class AvatarLabelBorder : public views::Border {
|
| public:
|
| explicit AvatarLabelBorder(bool label_on_right);
|
| @@ -64,7 +64,7 @@ void AvatarLabelBorder::Paint(const views::View& view, gfx::Canvas* canvas) {
|
| SkPaint paint;
|
| int kRadius = 2;
|
| SkColor background_color = view.GetThemeProvider()->GetColor(
|
| - ThemeProperties::COLOR_MANAGED_USER_LABEL_BACKGROUND);
|
| + ThemeProperties::COLOR_SUPERVISED_USER_LABEL_BACKGROUND);
|
| paint.setStyle(SkPaint::kFill_Style);
|
|
|
| // Paint the inner border with a color slightly darker than the background.
|
| @@ -117,7 +117,7 @@ void AvatarLabel::UpdateLabelStyle() {
|
| return;
|
|
|
| SkColor color_label = browser_view_->frame()->GetThemeProvider()->GetColor(
|
| - ThemeProperties::COLOR_MANAGED_USER_LABEL);
|
| + ThemeProperties::COLOR_SUPERVISED_USER_LABEL);
|
| for (size_t state = 0; state < STATE_COUNT; ++state)
|
| SetTextColor(static_cast<ButtonState>(state), color_label);
|
| SchedulePaint();
|
|
|