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

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

Issue 2612113002: 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 b72d0783b10dbaac146aad6fa77f883720cb6ca5..dad25f51bfe50cb59811352e344e82664c68238b 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->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