| Index: chrome/browser/chromeos/status/power_menu_button.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/status/power_menu_button.cc (revision 44004)
|
| +++ chrome/browser/chromeos/status/power_menu_button.cc (working copy)
|
| @@ -115,10 +115,8 @@
|
| }
|
|
|
| void PowerMenuButton::DrawPowerIcon(gfx::Canvas* canvas, SkBitmap icon) {
|
| - // Draw the battery icon 6 pixels down to center it.
|
| - // Because the status icon is 24x24 but the images are 24x16.
|
| - // But since the images are shifted up by 4 pixels, we draw at 6 pixels down.
|
| - static const int kIconVerticalPadding = 6;
|
| + // Draw the battery icon 5 pixels down to center it.
|
| + static const int kIconVerticalPadding = 5;
|
| canvas->DrawBitmapInt(icon, 0, kIconVerticalPadding);
|
| }
|
|
|
|
|