Index: services/ui/ws/server_window_compositor_frame_sink_manager.h |
diff --git a/services/ui/ws/server_window_compositor_frame_sink_manager.h b/services/ui/ws/server_window_compositor_frame_sink_manager.h |
index eb21737d9defb788bbfc88377199030a5f81d743..69055d5620fe180e0f1e11036a50fe0bd44541d0 100644 |
--- a/services/ui/ws/server_window_compositor_frame_sink_manager.h |
+++ b/services/ui/ws/server_window_compositor_frame_sink_manager.h |
@@ -45,9 +45,6 @@ class ServerWindowCompositorFrameSinkManager { |
explicit ServerWindowCompositorFrameSinkManager(ServerWindow* window); |
~ServerWindowCompositorFrameSinkManager(); |
- // Returns true if the CompositorFrameSinks from this manager should be drawn. |
- bool ShouldDraw(); |
- |
// Creates a new CompositorFrameSink of the specified type, replacing the |
// existing one of the specified type. |
void CreateDisplayCompositorFrameSink( |
@@ -109,15 +106,6 @@ class ServerWindowCompositorFrameSinkManager { |
TypeToCompositorFrameSinkMap type_to_compositor_frame_sink_map_; |
- // TODO(mfomitchev): This is currently always false. Confirm if we still need |
- // this. |
- // While true the window is not drawn. This is initially true if the window |
- // has the property |kWaitForUnderlay_Property|. This is set to false once |
- // the underlay and default surface have been set *and* their size is at |
- // least that of the window. Ideally we would wait for sizes to match, but |
- // the underlay is not necessarily as big as the window. |
- bool waiting_for_initial_frames_; |
- |
DISALLOW_COPY_AND_ASSIGN(ServerWindowCompositorFrameSinkManager); |
}; |