Replace almost "render" to "paint" in layout crate.

This doesn't touch some "render" words which are used as general means.
This commit is contained in:
Tetsuharu OHZEKI 2014-12-08 14:59:29 +09:00
parent 8cee554898
commit 9cda2c3395

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//! The layout task. Performs layout on the DOM, builds display lists and sends them to be //! The layout task. Performs layout on the DOM, builds display lists and sends them to be
//! rendered. //! painted.
use css::node_style::StyledNode; use css::node_style::StyledNode;
use construct::FlowConstructionResult; use construct::FlowConstructionResult;
@ -825,7 +825,7 @@ impl LayoutTask {
} }
}); });
// Build the display list if necessary, and send it to the renderer. // Build the display list if necessary, and send it to the painter.
if data.goal == ReflowForDisplay { if data.goal == ReflowForDisplay {
self.build_display_list_for_reflow(data, self.build_display_list_for_reflow(data,
node, node,