| Index: services/ui/ws/window_tree.cc
|
| diff --git a/services/ui/ws/window_tree.cc b/services/ui/ws/window_tree.cc
|
| index 5dbc6f330706a1adcc6b8a5b76c3e92d98829e7d..f51b6ecbf80318f7f24e4524da7ad98e2e604b80 100644
|
| --- a/services/ui/ws/window_tree.cc
|
| +++ b/services/ui/ws/window_tree.cc
|
| @@ -1375,7 +1375,9 @@ void WindowTree::OnWindowSurfaceDetached(Id transport_window_id,
|
| GetWindowByClientId(ClientWindowId(transport_window_id));
|
| if (!window)
|
| return;
|
| - window_server_->GetDisplayCompositor()->ReturnSurfaceReference(sequence);
|
| + std::vector<uint32_t> sequences({sequence.sequence});
|
| + window_server_->GetDisplayCompositor()->ReturnSurfaceReferences(
|
| + sequence.frame_sink_id, std::move(sequences));
|
| }
|
|
|
| void WindowTree::SetWindowTextInputState(Id transport_window_id,
|
|
|