diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-10-21 23:08:02 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2014-10-23 09:13:41 -0700 |
commit | de5e2fd5e22ce1e61dce8c7540c87471c810037f (patch) | |
tree | d5e028b67c68b60b0cea369e56b48c2ceaa18475 /components/layout/incremental.rs | |
parent | 2df236376a443d8d031ee7a72379f336f2cd8cc4 (diff) | |
download | servo-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.rs | 2 |
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, |