mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Prefix concrete types with 'Servo'.
This commit is contained in:
parent
54f2700ba6
commit
9dd45b9f2a
6 changed files with 90 additions and 90 deletions
|
@ -19,11 +19,11 @@ use traversal::{BuildDisplayList, ComputeAbsolutePositions};
|
|||
use traversal::{PostorderDomTraversal, PreorderDomTraversal};
|
||||
use util::geometry::ZERO_POINT;
|
||||
use util::opts;
|
||||
use wrapper::{LayoutNode, LayoutNodeTrait};
|
||||
use wrapper::{ServoLayoutNode, LayoutNodeTrait};
|
||||
|
||||
pub fn traverse_dom_preorder(root: LayoutNode,
|
||||
pub fn traverse_dom_preorder(root: ServoLayoutNode,
|
||||
shared_layout_context: &SharedLayoutContext) {
|
||||
fn doit(node: LayoutNode, recalc_style: RecalcStyleForNode, construct_flows: ConstructFlows) {
|
||||
fn doit(node: ServoLayoutNode, recalc_style: RecalcStyleForNode, construct_flows: ConstructFlows) {
|
||||
recalc_style.process(node);
|
||||
|
||||
for kid in node.children() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue