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

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

Issue 2711043002: Remove latest_submitted_surface_info (Closed)
Patch Set: Remove latest_submitted_surface_info Created 3 years, 10 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
Index: services/ui/ws/window_server.cc
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
index 00f457588d51b2128242356792e1eaa79c0502ad..6ca22491bff3e8bf6f985344f2a000304df293ae 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -774,12 +774,6 @@ void WindowServer::OnSurfaceCreated(const cc::SurfaceInfo& surface_info) {
if (!window)
return;
- // Cache the last submitted surface ID in the window server.
- // DisplayCompositorFrameSink may submit a CompositorFrame without
- // creating a CompositorFrameSinkManager.
- window->GetOrCreateCompositorFrameSinkManager()->SetLatestSurfaceInfo(
- surface_info);
-
// FrameGenerator will add an appropriate reference for the new surface.
DCHECK(display_manager_->GetDisplayContaining(window));
auto* display = display_manager_->GetDisplayContaining(window);
« no previous file with comments | « services/ui/ws/server_window_compositor_frame_sink_manager.cc ('k') | services/ui/ws/window_server_test_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698