aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/lib.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2015-11-24 19:46:09 -0600
committerPatrick Walton <pcwalton@mimiga.net>2015-11-24 19:50:52 -0600
commite881f0feebeec31582b3fbb848aeeb8b7ed70a32 (patch)
tree203802e309f643e47e4ee0d22c64f87f94bad919 /components/layout/lib.rs
parent6f35b867c9c3bb7a345e2ac34e5970b93a1d3ea1 (diff)
downloadservo-e881f0feebeec31582b3fbb848aeeb8b7ed70a32.tar.gz
servo-e881f0feebeec31582b3fbb848aeeb8b7ed70a32.zip
Write animated values into the `ComputedValues` structures when
animations complete or are interrupted. This adds a new pair of reader-writer locks. I measured the performance of style recalculation on Wikipedia and the overhead of the locks was not measurable. Closes #7816.
Diffstat (limited to 'components/layout/lib.rs')
-rw-r--r--components/layout/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout/lib.rs b/components/layout/lib.rs
index 85c6e506e92..2727000ef24 100644
--- a/components/layout/lib.rs
+++ b/components/layout/lib.rs
@@ -5,6 +5,7 @@
#![feature(box_syntax)]
#![feature(cell_extras)]
#![feature(custom_derive)]
+#![feature(drain)]
#![feature(hashmap_hasher)]
#![feature(mpsc_select)]
#![feature(plugin)]