Index: chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc |
diff --git a/chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc b/chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc |
index d8670731739007a2cc22df1b88789b5b3b0ac709..4226f7a9a1703f93ae7157619d3912473454cfcd 100644 |
--- a/chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc |
+++ b/chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc |
@@ -335,26 +335,23 @@ void AppPanelBrowserFrameView::PaintRestoredFrameBorder(gfx::Canvas* canvas) { |
// Fill with the frame color first so we have a constant background for |
// areas not covered by the theme image. |
- canvas->FillRect(frame_color, |
- gfx::Rect(0, 0, width(), theme_frame->height())); |
+ canvas->FillRect(gfx::Rect(0, 0, width(), theme_frame->height()), |
+ frame_color); |
int remaining_height = height() - theme_frame->height(); |
if (remaining_height > 0) { |
// Now fill down the sides. |
- canvas->FillRect(frame_color, |
- gfx::Rect(0, theme_frame->height(), left_edge->width(), |
- remaining_height)); |
- canvas->FillRect(frame_color, |
- gfx::Rect(width() - right_edge->width(), |
+ canvas->FillRect(gfx::Rect(0, theme_frame->height(), left_edge->width(), |
+ remaining_height), frame_color); |
+ canvas->FillRect(gfx::Rect(width() - right_edge->width(), |
theme_frame->height(), right_edge->width(), |
- remaining_height)); |
+ remaining_height), frame_color); |
int center_width = width() - left_edge->width() - right_edge->width(); |
if (center_width > 0) { |
// Now fill the bottom area. |
- canvas->FillRect(frame_color, |
- gfx::Rect(left_edge->width(), |
- height() - bottom_edge->height(), |
- center_width, bottom_edge->height())); |
+ canvas->FillRect(gfx::Rect(left_edge->width(), |
+ height() - bottom_edge->height(), center_width, |
+ bottom_edge->height()), frame_color); |
} |
} |