Commit 946308dd authored by Ahmed Mehfooz's avatar Ahmed Mehfooz Committed by Commit Bot

Remove LAYER_NOT_DRAWN parameter for opaque tray bubbles

The parameter causes UI elements without their own layers to
be not visible on these bubbles.

Change-Id: Ie6a13cb30151fe827623bc888d67f517cb2f0477
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2017910Reviewed-by: default avatarTim Song <tengs@chromium.org>
Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734721}
parent 4fd2a2d6
......@@ -257,7 +257,7 @@ TrayBubbleView::TrayBubbleView(const InitParams& init_params)
// Create a layer so that the layer for FocusRing stays in this view's
// layer. Without it, the layer for FocusRing goes above the
// NativeViewHost and may steal events.
SetPaintToLayer(ui::LAYER_NOT_DRAWN);
SetPaintToLayer();
}
auto layout = std::make_unique<BottomAlignedBoxLayout>(this);
......
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