Chromium Code Reviews| Index: components/exo/wayland/server.cc |
| diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc |
| index dacbe82c922b80743878e01d33ed1cfd065fe259..8de5d9fd4d5f0897a8da9663e5446d1c25c53613 100644 |
| --- a/components/exo/wayland/server.cc |
| +++ b/components/exo/wayland/server.cc |
| @@ -1614,7 +1614,12 @@ class WaylandRemoteShell : public ash::ShellObserver, |
| } |
| // Overridden from ash::ShellObserver: |
| - void OnDisplayWorkAreaInsetsChanged() override { SendConfigure(); } |
| + void OnDisplayWorkAreaInsetsChanged() override { |
| + const display::Display& primary = |
| + ash::Shell::GetInstance()->display_manager()->GetDisplayForId( |
| + display_id_); |
| + SendConfigure_DEPRECATED(); |
|
hidehiko
2016/08/03 18:11:31
Maybe: SendConfigure_DEPRECATED(primary);
?
|
| + } |
| void OnMaximizeModeStarted() override { |
| layout_mode_ = ZWP_REMOTE_SHELL_V1_LAYOUT_MODE_TABLET; |
| SendLayoutModeChange_DEPRECATED(); |