Index: services/ui/ws/frame_generator.h |
diff --git a/services/ui/ws/frame_generator.h b/services/ui/ws/frame_generator.h |
index 0e872bf7a1ff1341b3ad95fe05b387c2d57d3996..1ac889d5319ce81075d145a3974e656eb9f721b1 100644 |
--- a/services/ui/ws/frame_generator.h |
+++ b/services/ui/ws/frame_generator.h |
@@ -76,12 +76,9 @@ class FrameGenerator : public ServerWindowTracker, |
// Generates the CompositorFrame. |
cc::CompositorFrame GenerateCompositorFrame(const gfx::Rect& output_rect); |
- // DrawWindowTree recursively visits ServerWindows, creating a SurfaceDrawQuad |
- // for each that lacks one. |
- void DrawWindowTree(cc::RenderPass* pass, |
- ServerWindow* window, |
- const gfx::Vector2d& parent_to_root_origin_offset, |
- float opacity); |
+ // DrawWindow creates SurfaceDrawQuad for the provided ServerWindow and |
+ // appends it to the provided cc::RenderPass. |
+ void DrawWindow(cc::RenderPass* pass, ServerWindow* window); |
// Finds the parent surface id for |window|. |
cc::SurfaceId FindParentSurfaceId(ServerWindow* window); |