diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-07-24 15:38:05 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-08-09 00:10:21 +0200 |
commit | 4e8922a53a7dcd40aba45e11a25dd614d8330e07 (patch) | |
tree | e3f68a9154bcefb75e56f1451444d7b856a7d76e /components/script/lib.rs | |
parent | a49eb14615b12960b0bb35cc2b5c59e46f47d869 (diff) | |
download | servo-4e8922a53a7dcd40aba45e11a25dd614d8330e07.tar.gz servo-4e8922a53a7dcd40aba45e11a25dd614d8330e07.zip |
Optimise Node.childNodes
We use the virtual method children_changed() to propagate changes in the children
list to the NodeList tied to Node.childNodes.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index 640aad8e6e1..21d78eaf61f 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -21,6 +21,7 @@ #![feature(plugin)] #![feature(ref_slice)] #![feature(rc_unique)] +#![feature(slice_patterns)] #![feature(str_utf16)] #![feature(unicode)] #![feature(vec_push_all)] |