Index: ui/app_list/views/app_list_background.cc |
diff --git a/ui/app_list/views/app_list_background.cc b/ui/app_list/views/app_list_background.cc |
index 0857d5b9a2de7fb8542436de1f8ca765ea5e569e..39ec4b059d1bc48c311aba0eac1df9c5086e11c1 100644 |
--- a/ui/app_list/views/app_list_background.cc |
+++ b/ui/app_list/views/app_list_background.cc |
@@ -87,16 +87,11 @@ void AppListBackground::Paint(gfx::Canvas* canvas, |
const gfx::Rect contents_view_view_bounds = |
contents_view->ConvertRectToWidget(contents_view->GetLocalBounds()); |
gfx::Rect separator_rect(contents_rect); |
+ separator_rect.Inset( |
+ kExperimentalWindowPadding + main_view_->GetInsets().left(), 0); |
separator_rect.set_y(contents_view_view_bounds.bottom()); |
separator_rect.set_height(kBottomSeparatorSize); |
canvas->FillRect(separator_rect, kBottomSeparatorColor); |
- int contents_switcher_top = separator_rect.bottom(); |
- gfx::Rect contents_switcher_rect(bounds.x(), |
- contents_switcher_top, |
- bounds.width(), |
- bounds.bottom() - contents_switcher_top); |
- paint.setColor(kContentsSwitcherBackgroundColor); |
- canvas->DrawRect(contents_switcher_rect, paint); |
} |
} |