summaryrefslogtreecommitdiffstats
path: root/ash/system/power
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 15:40:11 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-20 15:40:11 +0000
commit94fccbf9860b2a75fcfc49302c8575957a6dfe47 (patch)
tree556be316f1cfa2919f68f50569ad6fa69152d14b /ash/system/power
parente21bd3e042a428cb408b4f49a7889a4e666a8907 (diff)
downloadchromium_src-94fccbf9860b2a75fcfc49302c8575957a6dfe47.zip
chromium_src-94fccbf9860b2a75fcfc49302c8575957a6dfe47.tar.gz
chromium_src-94fccbf9860b2a75fcfc49302c8575957a6dfe47.tar.bz2
ash: Set background color of tray::DateView label properly and use gfx::Canvas::NO_SUBPIXEL_RENDERING flag when rendering title bar text to avoid artifacts when window frame is translucent.
BUG=118801 TEST=Visual, text in window title bars and the system tray should be crisp Review URL: http://codereview.chromium.org/9720028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/system/power')
-rw-r--r--ash/system/power/tray_power_date.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/system/power/tray_power_date.cc b/ash/system/power/tray_power_date.cc
index e364c46..1e97865 100644
--- a/ash/system/power/tray_power_date.cc
+++ b/ash/system/power/tray_power_date.cc
@@ -88,6 +88,7 @@ class DateView : public views::View {
SetLayoutManager(new views::FillLayout());
label_ = new views::Label;
label_->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
+ label_->SetBackgroundColor(SkColorSetARGB(0, 255, 255, 255));
UpdateText();
AddChildView(label_);
}