mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
servo: Update ipc-channel
to pick up bincode
support.
Large improvement in page load times, especially in debug builds.
This commit is contained in:
parent
530d4547c9
commit
6b32e5d7a7
18 changed files with 277 additions and 167 deletions
|
@ -61,7 +61,7 @@ use script::layout_interface::{ScriptLayoutChan, ScriptReflow, TrustedNodeAddres
|
|||
use script_traits::{ConstellationControlMsg, LayoutControlMsg, OpaqueScriptLayoutChannel};
|
||||
use script_traits::{ScriptControlChan, StylesheetLoadResponder};
|
||||
use selectors::parser::PseudoElement;
|
||||
use serde::json;
|
||||
use serde_json;
|
||||
use std::borrow::ToOwned;
|
||||
use std::cell::Cell;
|
||||
use std::collections::HashMap;
|
||||
|
@ -1061,7 +1061,7 @@ impl LayoutTask {
|
|||
stacking_context.print("#".to_owned());
|
||||
}
|
||||
if opts::get().dump_display_list_json {
|
||||
println!("{}", json::to_string_pretty(&stacking_context).unwrap());
|
||||
println!("{}", serde_json::to_string_pretty(&stacking_context).unwrap());
|
||||
}
|
||||
|
||||
rw_data.stacking_context = Some(stacking_context.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue