Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: ash/common/system/chromeos/power/power_status.cc

Issue 2169843003: Change initialization of canvas used for Ash material design battery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/power/power_status.cc
diff --git a/ash/common/system/chromeos/power/power_status.cc b/ash/common/system/chromeos/power/power_status.cc
index 6b487b8139d6c871a9393077031543aaaf6eb13a..b1cb8ce42d3524c514393397fa8a70aaef84f1c9 100644
--- a/ash/common/system/chromeos/power/power_status.cc
+++ b/ash/common/system/chromeos/power/power_status.cc
@@ -405,7 +405,7 @@ gfx::ImageSkia PowerStatus::GetBatteryImage(
gfx::Canvas canvas(
gfx::Size(kBatteryCanvasSizeMd, kBatteryCanvasSizeMd),
display::Screen::GetScreen()->GetPrimaryDisplay().device_scale_factor(),
- true);
+ false);
// Paint the battery's base (background) color.
PaintVectorIcon(&canvas, gfx::VectorIconId::SYSTEM_TRAY_BATTERY,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698