| 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 1ad0e76e491ddbd7ad1a90426e8228d5fb891d18..270ed92f00b609ff513b31efcb4781cf25b45866 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
|
| @@ -1196,12 +1196,12 @@ bool DesktopRootWindowHostX11::Dispatch(const base::NativeEvent& event) {
|
| // window manager before we receive the event that changes the
|
| // fullscreen state. Unsure what to do about that.
|
| Widget* widget = native_widget_delegate_->AsWidget();
|
| - NonClientView* non_client_view = widget->non_client_view();
|
| +// NonClientView* non_client_view = widget->non_client_view();
|
| // non_client_view may be NULL, especially during creation.
|
| - if (non_client_view) {
|
| - non_client_view->client_view()->InvalidateLayout();
|
| - non_client_view->InvalidateLayout();
|
| - }
|
| +// if (non_client_view) {
|
| +// non_client_view->client_view()->InvalidateLayout();
|
| +// non_client_view->InvalidateLayout();
|
| +// }
|
| widget->GetRootView()->Layout();
|
| }
|
| break;
|
|
|