aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/table_cell.rs
diff options
context:
space:
mode:
authorShing Lyu <shing.lyu@gmail.com>2016-10-12 11:47:04 +0800
committerShing Lyu <shing.lyu@gmail.com>2016-11-07 15:54:07 +0800
commit8bea421329f584f8394bd9ffe874249d293b8249 (patch)
treeccb1f2e9e55c488b2a138e10321e51139ea64b97 /components/layout/table_cell.rs
parentf48b3fe2197a59b29bc711fb1b5496cbb97bd330 (diff)
downloadservo-8bea421329f584f8394bd9ffe874249d293b8249.tar.gz
servo-8bea421329f584f8394bd9ffe874249d293b8249.zip
Migrated -Z trace-layout to serde_json
Diffstat (limited to 'components/layout/table_cell.rs')
-rw-r--r--components/layout/table_cell.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/table_cell.rs b/components/layout/table_cell.rs
index ca2af6a4897..abdcf03cb2b 100644
--- a/components/layout/table_cell.rs
+++ b/components/layout/table_cell.rs
@@ -30,7 +30,7 @@ use table::InternalTable;
use table_row::{CollapsedBorder, CollapsedBorderProvenance};
/// A table formatting context.
-#[derive(RustcEncodable)]
+#[derive(Serialize)]
pub struct TableCellFlow {
/// Data common to all block flows.
pub block_flow: BlockFlow,
@@ -297,7 +297,7 @@ impl fmt::Debug for TableCellFlow {
}
}
-#[derive(Copy, Clone, Debug, RustcEncodable)]
+#[derive(Copy, Clone, Debug, Serialize)]
pub struct CollapsedBordersForCell {
pub inline_start_border: CollapsedBorder,
pub inline_end_border: CollapsedBorder,