| Index: components/mus/ws/connection_manager.cc
|
| diff --git a/components/mus/ws/connection_manager.cc b/components/mus/ws/connection_manager.cc
|
| index a710d9fa1b7424d326ebc61ebcc5241e07585679..4ef846194ae22c000aecbfc41f79eb63bbe76413 100644
|
| --- a/components/mus/ws/connection_manager.cc
|
| +++ b/components/mus/ws/connection_manager.cc
|
| @@ -482,7 +482,6 @@ void ConnectionManager::OnWindowBoundsChanged(ServerWindow* window,
|
| if (!window->parent())
|
| return;
|
|
|
| - // TODO(sky): optimize this.
|
| SchedulePaint(window->parent(), old_bounds);
|
| SchedulePaint(window->parent(), new_bounds);
|
|
|
| @@ -572,11 +571,6 @@ void ConnectionManager::OnTransientWindowRemoved(
|
| }
|
| }
|
|
|
| -void ConnectionManager::OnWillDestroyDisplay(Display* display) {
|
| - for (auto& pair : tree_map_)
|
| - pair.second->OnWillDestroyDisplay(display);
|
| -}
|
| -
|
| void ConnectionManager::OnFirstDisplayReady() {
|
| delegate_->OnFirstDisplayReady();
|
| }
|
|
|