mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +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
|
@ -82,7 +82,7 @@ use util::opts;
|
|||
use util::task::spawn_named_with_send_on_failure;
|
||||
use util::task_state;
|
||||
use util::workqueue::WorkQueue;
|
||||
use wrapper::{LayoutNode, ThreadSafeLayoutNode};
|
||||
use wrapper::{LayoutDocumentTrait, LayoutElementTrait, LayoutNode, LayoutNodeTrait, ThreadSafeLayoutNode};
|
||||
|
||||
/// The number of screens of data we're allowed to generate display lists for in each direction.
|
||||
pub const DISPLAY_PORT_SIZE_FACTOR: i32 = 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue