Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2032)

Unified Diff: services/ui/ws/window_tree.cc

Issue 2470143006: Remove dependency on SurfaceManager in FrameGenerator (Closed)
Patch Set: Remove a couple of bad std::moves Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/test_utils.cc ('k') | services/ui/ws/window_tree_host_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « services/ui/ws/test_utils.cc ('k') | services/ui/ws/window_tree_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698