Commit c6c7b05f authored by Tommy Steimel's avatar Tommy Steimel Committed by Commit Bot

GMC: Prevent white pixels in the corners of media notifications

This CL sets the MediaNotificationListView's background to transparent
so that white pixels don't peek through in the corners of the dialog.

Bug: 1006234
Change-Id: I3cea0c32d4b9ba238d327e219e052265e06a1847
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1816974Reviewed-by: default avatarJazz Xu <jazzhsu@chromium.org>
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#699855}
parent aeb20fe3
......@@ -15,6 +15,7 @@ constexpr int kMediaListMaxHeight = 478;
} // anonymous namespace
MediaNotificationListView::MediaNotificationListView() {
SetBackgroundColor(SK_ColorTRANSPARENT);
SetContents(std::make_unique<views::View>());
contents()->SetLayoutManager(std::make_unique<views::BoxLayout>(
views::BoxLayout::Orientation::kVertical));
......
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