Commit 9f4ebac5 authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

Draw the separator on the trailing edge, not the leading.

Bug: 1116923
Change-Id: If673d845c54639a64ae59802f3fbcbf51a842632
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2376685
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Commit-Queue: David Trainor <dtrainor@chromium.org>
Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801874}
parent d5987cc3
......@@ -561,7 +561,7 @@ void DownloadItemView::OnPaintBackground(gfx::Canvas* canvas) {
// Draw the separator as part of the background. It will be covered by the
// focus ring when the view has focus.
gfx::Rect rect(0, 0, 1, height());
gfx::Rect rect(width() - 1, 0, 1, height());
rect.Inset(0, kTopBottomPadding);
canvas->FillRect(GetMirroredRect(rect),
GetThemeProvider()->GetColor(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment