Index: chrome/browser/ui/views/detachable_toolbar_view.cc |
diff --git a/chrome/browser/ui/views/detachable_toolbar_view.cc b/chrome/browser/ui/views/detachable_toolbar_view.cc |
index fd9db04d23ee3a1e5b3af229299097f1283ff64f..07ff12fa3476e7dab6453ad650af665ee4b9f225 100644 |
--- a/chrome/browser/ui/views/detachable_toolbar_view.cc |
+++ b/chrome/browser/ui/views/detachable_toolbar_view.cc |
@@ -65,20 +65,12 @@ void DetachableToolbarView::CalculateContentArea( |
// static |
void DetachableToolbarView::PaintHorizontalBorder(gfx::Canvas* canvas, |
DetachableToolbarView* view) { |
- PaintHorizontalBorderWithColor(canvas, view, |
- ThemeService::GetDefaultColor(ThemeService::COLOR_TOOLBAR_SEPARATOR)); |
-} |
- |
-// static |
-void DetachableToolbarView::PaintHorizontalBorderWithColor( |
- gfx::Canvas* canvas, |
- DetachableToolbarView* view, |
- SkColor border_color) { |
// Border can be at the top or at the bottom of the view depending on whether |
// the view (bar/shelf) is attached or detached. |
int thickness = views::NonClientFrameView::kClientEdgeThickness; |
int y = view->IsDetached() ? 0 : (view->height() - thickness); |
- canvas->FillRect(gfx::Rect(0, y, view->width(), thickness), border_color); |
+ canvas->FillRect(gfx::Rect(0, y, view->width(), thickness), |
+ ThemeService::GetDefaultColor(ThemeService::COLOR_TOOLBAR_SEPARATOR)); |
} |
// static |