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

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

Issue 2621843003: Removing ServerWindowCompositorFrameSinkManager::ShouldDraw() (Closed)
Patch Set: Created 3 years, 11 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/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index c4c309b00a0f71a193c3c7b3c4e6e0648dba66a0..7f8e788dd8c0b946aa06834fc6912059e96685ce 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -159,8 +159,7 @@ void FrameGenerator::DrawWindow(cc::RenderPass* pass, ServerWindow* window) {
if (!window || !window->visible())
return;
- if (!window->compositor_frame_sink_manager() ||
- !window->compositor_frame_sink_manager()->ShouldDraw())
+ if (!window->compositor_frame_sink_manager())
return;
cc::SurfaceId default_surface_id =
« no previous file with comments | « services/ui/public/interfaces/mus_constants.mojom ('k') | services/ui/ws/server_window_compositor_frame_sink_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698