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

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

Issue 2453013002: Mus: Remove dependency on ServerWindowCompositorFrameSink from FrameGenerator (Closed)
Patch Set: Rebased Created 4 years, 2 months 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/window_server_test_impl.cc ('k') | no next file » | 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 f45de81c2b76da32cfabb941b8d8b8489df7ac4d..1003928bf8b306b513d7c08a45ceda6d515e4770 100644
--- a/services/ui/ws/window_tree.cc
+++ b/services/ui/ws/window_tree.cc
@@ -775,9 +775,9 @@ void WindowTree::ProcessWindowSurfaceChanged(ServerWindow* window,
ServerWindowCompositorFrameSinkManager* compositor_frame_sink_manager =
window->GetOrCreateCompositorFrameSinkManager();
- ServerWindowCompositorFrameSink* compositor_frame_sink =
- compositor_frame_sink_manager->GetDefaultCompositorFrameSink();
- cc::SurfaceSequence sequence = compositor_frame_sink->CreateSurfaceSequence();
+ cc::SurfaceSequence sequence =
+ compositor_frame_sink_manager->CreateSurfaceSequence(
+ mojom::CompositorFrameSinkType::DEFAULT);
client()->OnWindowSurfaceChanged(client_window_id.id, surface_id, sequence,
frame_size, device_scale_factor);
}
« no previous file with comments | « services/ui/ws/window_server_test_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698