servo: Update ipc-channel to pick up bincode support.

Large improvement in page load times, especially in debug builds.
This commit is contained in:
Patrick Walton 2015-08-08 09:33:43 -07:00
parent 530d4547c9
commit 6b32e5d7a7
18 changed files with 277 additions and 167 deletions

View file

@ -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());