| Index: ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc b/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc
|
| index f06f351ae651ea5f42b65321549fdf2047ca11e7..5c270f6cd07067bfb546dcdf78654d636038eea6 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_root_window_host_x11.cc
|
| @@ -601,7 +601,8 @@ bool DesktopWindowTreeHostX11::ShouldUseNativeFrame() {
|
| return use_native_frame_;
|
| }
|
|
|
| -void DesktopWindowTreeHostX11::FrameTypeChanged() {
|
| +void DesktopWindowTreeHostX11::FrameTypeChanged(Widget::FrameType new_type) {
|
| + SetUseNativeFrame(new_type == Widget::FRAME_TYPE_FORCE_NATIVE);
|
| // Replace the frame and layout the contents. Even though we don't have a
|
| // swapable glass frame like on Windows, we still replace the frame because
|
| // the button assets don't update otherwise.
|
|
|