Commit a1349268 authored by Tommy Martino's avatar Tommy Martino Committed by Commit Bot

[Autofill Views] Draw separator background

Currently, we don't draw the background on the separator. This is fine
on Win and Mac, because by default we just see white anyway. But on
Linux (specifically GTK+) we draw gray by default, giving an ugly gray
splotch.

Change-Id: I6f6d61d7ade28d30a659858a9a83bf0506aa3637
Bug: 866637
Reviewed-on: https://chromium-review.googlesource.com/1147158Reviewed-by: default avatarFabio Tirelo <ftirelo@chromium.org>
Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Commit-Queue: Fabio Tirelo <ftirelo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577373}
parent 6973776c
......@@ -424,6 +424,8 @@ void AutofillPopupSeparatorView::CreateContent() {
/*bottom=*/0,
/*right=*/0));
AddChildView(separator);
SetBackground(CreateBackground());
}
void AutofillPopupSeparatorView::RefreshStyle() {
......
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