| 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);
|
|
|