| Index: chrome/browser/chromeos/status_area_button.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/status_area_button.cc (revision 30284)
|
| +++ chrome/browser/chromeos/status_area_button.cc (working copy)
|
| @@ -23,7 +23,7 @@
|
| void StatusAreaButton::Paint(gfx::Canvas* canvas, bool for_drag) {
|
| int bitmap_id;
|
|
|
| - switch(state()) {
|
| + switch (state()) {
|
| case BS_NORMAL:
|
| bitmap_id = IDR_STATUSBAR_CONTAINER;
|
| break;
|
| @@ -40,5 +40,9 @@
|
| SkBitmap* container =
|
| ResourceBundle::GetSharedInstance().GetBitmapNamed(bitmap_id);
|
| canvas->DrawBitmapInt(*container, 0, 0);
|
| + DrawIcon(canvas);
|
| +}
|
| +
|
| +void StatusAreaButton::DrawIcon(gfx::Canvas* canvas) {
|
| canvas->DrawBitmapInt(icon(), 0, 0);
|
| }
|
|
|
| Property changes on: chrome/browser/chromeos/status_area_button.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|