Chromium Code Reviews| Index: ash/shell.cc |
| diff --git a/ash/shell.cc b/ash/shell.cc |
| index f1ecea4ff9df78d765c895884b5d9592fdb4cd08..0327a11dc067e8159f363ca866b4727a52e3feda 100644 |
| --- a/ash/shell.cc |
| +++ b/ash/shell.cc |
| @@ -274,10 +274,7 @@ views::NonClientFrameView* Shell::CreateDefaultNonClientFrameView( |
| void Shell::SetDisplayWorkAreaInsets(Window* contains, |
| const gfx::Insets& insets) { |
| - if (!window_tree_host_manager_->UpdateWorkAreaOfDisplayNearestWindow( |
| - contains, insets)) { |
| - return; |
| - } |
| + wm_shell_->SetDisplayWorkAreaInsets(WmWindow::Get(contains), insets); |
|
msw
2017/02/16 18:34:49
It's a bit odd to do Shell->WmShell->Shell, but it
sky
2017/02/16 18:42:20
Acknowledged.
|
| } |
| void Shell::OnLoginStateChanged(LoginStatus status) { |