mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -17,7 +17,7 @@ use std::cell::RefCell;
|
|||
use std::mem;
|
||||
use util::opts;
|
||||
use util::tid::tid;
|
||||
use wrapper::{LayoutNode, layout_node_to_unsafe_layout_node};
|
||||
use wrapper::{LayoutNode, LayoutNodeTrait, layout_node_to_unsafe_layout_node};
|
||||
use wrapper::{ThreadSafeLayoutNode, UnsafeLayoutNode};
|
||||
|
||||
/// Every time we do another layout, the old bloom filters are invalid. This is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue