diff --git a/components/msg/compositor_msg.rs b/components/msg/compositor_msg.rs index 989d4d56968..4635e2667d4 100644 --- a/components/msg/compositor_msg.rs +++ b/components/msg/compositor_msg.rs @@ -81,13 +81,13 @@ pub struct LayerMetadata { pub scroll_policy: ScrollPolicy, } -/// The interface used by the renderer to acquire draw targets for each render frame and +/// The interface used by the painter to acquire draw targets for each paint frame and /// submit them to be drawn to the display. pub trait PaintListener for Sized? { fn get_graphics_metadata(&mut self) -> Option; /// Informs the compositor of the layers for the given pipeline. The compositor responds by - /// creating and/or destroying render layers as necessary. + /// creating and/or destroying paint layers as necessary. fn initialize_layers_for_pipeline(&mut self, pipeline_id: PipelineId, metadata: Vec,