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
|
@ -77,6 +77,7 @@ smallvec = "0.1"
|
|||
string_cache = "0.1"
|
||||
string_cache_plugin = "0.1"
|
||||
euclid = "0.1"
|
||||
serde = "0.4"
|
||||
serde_macros = "0.4"
|
||||
serde = "0.5"
|
||||
serde_macros = "0.5"
|
||||
serde_json = "0.5"
|
||||
unicode-bidi = "0.2"
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -57,6 +57,7 @@ extern crate script;
|
|||
extern crate script_traits;
|
||||
extern crate selectors;
|
||||
extern crate serde;
|
||||
extern crate serde_json;
|
||||
extern crate smallvec;
|
||||
extern crate string_cache;
|
||||
extern crate style;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue