Chromium Code Reviews| Index: chrome/browser/ui/views/frame/browser_view.cc |
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
| index e0896b097faf8f623e0ab52116a4fa38167c3103..14f385106a9e1eb70e3f90c28fe423d315abd661 100644 |
| --- a/chrome/browser/ui/views/frame/browser_view.cc |
| +++ b/chrome/browser/ui/views/frame/browser_view.cc |
| @@ -237,15 +237,9 @@ void PaintDetachedBookmarkBar(gfx::Canvas* canvas, |
| SkColor separator_color = |
| tp->GetColor(ThemeProperties::COLOR_DETACHED_BOOKMARK_BAR_SEPARATOR); |
| - if (ui::MaterialDesignController::IsModeMaterial()) { |
| - BrowserView::Paint1pxHorizontalLine( |
| - canvas, separator_color, |
| - gfx::Rect(0, 0, view->width(), |
| - views::NonClientFrameView::kClientEdgeThickness), |
| - true); |
| - } else { |
| + if (!ui::MaterialDesignController::IsModeMaterial()) { |
|
Peter Kasting
2016/08/19 01:32:59
Nit: No {}
Bret
2016/08/19 18:02:00
Done.
|
| PaintHorizontalBorder(canvas, view, true, separator_color); |
| - } |
| + } // In material mode the toolbar bottom stroke serves as our top stroke. |
|
Peter Kasting
2016/08/19 01:32:59
Nit: I'd put this comment above the conditional.
Bret
2016/08/19 18:02:00
Done.
|
| // For the bottom separator, increase the luminance. Either double it or halve |
| // the distance to 1.0, whichever is less of a difference. |