mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Hoist exported wrapper functionality into a family of traits.
All the existing code still uses the concrete implementations, so this shouldn't impact the generated code at all.
This commit is contained in:
parent
acbe413052
commit
54f2700ba6
6 changed files with 297 additions and 198 deletions
|
@ -19,7 +19,7 @@ use traversal::{BuildDisplayList, ComputeAbsolutePositions};
|
|||
use traversal::{PostorderDomTraversal, PreorderDomTraversal};
|
||||
use util::geometry::ZERO_POINT;
|
||||
use util::opts;
|
||||
use wrapper::LayoutNode;
|
||||
use wrapper::{LayoutNode, LayoutNodeTrait};
|
||||
|
||||
pub fn traverse_dom_preorder(root: LayoutNode,
|
||||
shared_layout_context: &SharedLayoutContext) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue