Chromium Code Reviews| Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
| index 98f99f4ca391096ad4998e798bce674d3774eeb1..8e8c65f96a7e6d6229fa961a7f625eb0d6f6dfd6 100644 |
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc |
| @@ -781,7 +781,8 @@ bool DesktopWindowTreeHostX11::ShouldUseNativeFrame() const { |
| } |
| bool DesktopWindowTreeHostX11::ShouldWindowContentsBeTransparent() const { |
| - return false; |
| + // Ensure consistency with SetWindowTransparency(). |
| + return use_argb_visual_; |
|
sadrul
2016/06/13 15:13:17
DesktopWindowTreeHostWin::ShouldWindowContentsBeTr
Julien Isorce Samsung
2016/06/13 15:53:20
I think it should not rely on ShouldUseNativeFrame
|
| } |
| void DesktopWindowTreeHostX11::FrameTypeChanged() { |