mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Decouple compositing and script crates.
This commit is contained in:
parent
8b3c9f6401
commit
015b07f1e0
17 changed files with 416 additions and 200 deletions
|
@ -17,7 +17,7 @@ use layout_interface::{DocumentDamageLevel, HitTestQuery, HitTestResponse, Layou
|
|||
use layout_interface::{LayoutChan, QueryMsg};
|
||||
use layout_interface::{Reflow, ReflowGoal, ReflowMsg};
|
||||
use layout_interface::UntrustedNodeAddress;
|
||||
use script_task::ScriptChan;
|
||||
use script_traits::ScriptControlChan;
|
||||
|
||||
use geom::point::Point2D;
|
||||
use js::rust::Cx;
|
||||
|
@ -301,7 +301,7 @@ impl Page {
|
|||
/// This function fails if there is no root frame.
|
||||
pub fn reflow(&self,
|
||||
goal: ReflowGoal,
|
||||
script_chan: ScriptChan,
|
||||
script_chan: ScriptControlChan,
|
||||
compositor: &ScriptListener) {
|
||||
|
||||
let root = match *self.frame() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue