| Index: chrome/browser/ui/views/frame/browser_frame_aura.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc
|
| index b4e0176eedb4338fa3a98d00a9d762129bac49ed..e49bcf119ff217865f63f58b254b17e4cb6b1acd 100644
|
| --- a/chrome/browser/ui/views/frame/browser_frame_aura.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc
|
| @@ -74,9 +74,9 @@ void ToolbarBackground::Paint(gfx::Canvas* canvas, views::View* view) const {
|
| h));
|
| canvas->GetSkCanvas()->drawARGB(0, 255, 255, 255, SkXfermode::kClear_Mode);
|
|
|
| - SkColor theme_toolbar_color =
|
| - tp->GetColor(ThemeService::COLOR_TOOLBAR);
|
| - canvas->FillRectInt(theme_toolbar_color, x, bottom_y, w, bottom_edge_height);
|
| + SkColor theme_toolbar_color = tp->GetColor(ThemeService::COLOR_TOOLBAR);
|
| + canvas->FillRect(theme_toolbar_color,
|
| + gfx::Rect(x, bottom_y, w, bottom_edge_height));
|
|
|
| // Tile the toolbar image starting at the frame edge on the left and where the
|
| // horizontal tabstrip is (or would be) on the top.
|
| @@ -141,12 +141,13 @@ void ToolbarBackground::Paint(gfx::Canvas* canvas, views::View* view) const {
|
| bottom_edge_height, false);
|
|
|
| // Draw the content/toolbar separator.
|
| - canvas->FillRectInt(
|
| + canvas->FillRect(
|
| ResourceBundle::toolbar_separator_color,
|
| - x + views::NonClientFrameView::kClientEdgeThickness,
|
| - toolbar_bounds.bottom() - views::NonClientFrameView::kClientEdgeThickness,
|
| - w - (2 * views::NonClientFrameView::kClientEdgeThickness),
|
| - views::NonClientFrameView::kClientEdgeThickness);
|
| + gfx::Rect(
|
| + x + views::NonClientFrameView::kClientEdgeThickness,
|
| + toolbar_bounds.bottom() - views::NonClientFrameView::kClientEdgeThickness,
|
| + w - (2 * views::NonClientFrameView::kClientEdgeThickness),
|
| + views::NonClientFrameView::kClientEdgeThickness));
|
| }
|
|
|
| } // namespace
|
|
|