Chromium Code Reviews| 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..338cb2907d2a765685e182597fa4563ac620719d 100644 |
| --- a/services/ui/ws/window_tree.cc |
| +++ b/services/ui/ws/window_tree.cc |
| @@ -1375,7 +1375,10 @@ 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; |
| + sequences.push_back(sequence.sequence); |
|
kylechar
2016/11/04 15:53:51
Optional change:
std::vector<uint32_t> sequences(
Fady Samuel
2016/11/04 17:17:06
Done.
|
| + window_server_->GetDisplayCompositor()->ReturnSurfaceReferences( |
| + sequence.frame_sink_id, std::move(sequences)); |
| } |
| void WindowTree::SetWindowTextInputState(Id transport_window_id, |