aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/incremental.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2014-10-21 23:08:02 -0700
committerPatrick Walton <pcwalton@mimiga.net>2014-10-23 09:13:41 -0700
commitde5e2fd5e22ce1e61dce8c7540c87471c810037f (patch)
treed5e028b67c68b60b0cea369e56b48c2ceaa18475 /components/layout/incremental.rs
parent2df236376a443d8d031ee7a72379f336f2cd8cc4 (diff)
downloadservo-de5e2fd5e22ce1e61dce8c7540c87471c810037f.tar.gz
servo-de5e2fd5e22ce1e61dce8c7540c87471c810037f.zip
layout: Shrink fragments down from 448 bytes down to 128 bytes.
16% performance improvement in layout (!)
Diffstat (limited to 'components/layout/incremental.rs')
-rw-r--r--components/layout/incremental.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/incremental.rs b/components/layout/incremental.rs
index 959647df85a..6f23756442f 100644
--- a/components/layout/incremental.rs
+++ b/components/layout/incremental.rs
@@ -8,7 +8,7 @@ use style::ComputedValues;
bitflags! {
#[doc = "Individual layout actions that may be necessary after restyling."]
- flags RestyleDamage: int {
+ flags RestyleDamage: u8 {
#[doc = "Repaint the node itself."]
#[doc = "Currently unused; need to decide how this propagates."]
static Repaint = 0x01,