servo/components/script
Simon Sapin aa15dc269f Remove use of unstable box syntax.
http://www.robohornet.org gives a score of 101.36 on master,
and 102.68 with this PR. The latter is slightly better,
but probably within noise level.
So it looks like this PR does not affect DOM performance.

This is expected since `Box::new` is defined as:

```rust
impl<T> Box<T> {
    #[inline(always)]
    pub fn new(x: T) -> Box<T> {
        box x
    }
}
```

With inlining, it should compile to the same as box syntax.
2017-10-16 17:16:20 +02:00
..
docs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
dom Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
task_source Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
body.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
build.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
Cargo.toml Auto merge of #18820 - asajeffrey:update-swapper, r=wafflespeanut 2017-10-10 15:10:01 -05:00
clipboard_provider.rs make use of ScriptToConstellationChan 2017-08-15 08:22:09 +02:00
CMakeLists.txt Fix doc build by resurrecting generation of supported DOM APIs.h 2016-09-24 15:06:06 -04:00
devtools.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
document_loader.rs Rename JS<T> to Dom<T> 2017-09-26 09:48:55 +02:00
fetch.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
layout_image.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
lib.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
mem.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
microtask.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00
network_listener.rs Introduce TaskOnce 2017-09-20 10:37:09 +02:00
script_runtime.rs Move script_runtime::StackRootTLS to root::ThreadLocalStackRoots 2017-09-27 13:58:59 +02:00
script_thread.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
serviceworker_manager.rs remove extra spaces after keywords 2017-07-20 00:45:02 +03:00
serviceworkerjob.rs Rename DOMRefCell<T> to DomRefCell<T> 2017-09-26 09:49:08 +02:00
stylesheet_loader.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
task.rs Introduce TaskOnce 2017-09-20 10:37:09 +02:00
test.rs Parse srcset attribute 2017-10-03 13:18:01 +02:00
textinput.rs Upgrade to rustc 1.22.0-nightly (c6884b12d 2017-09-30) 2017-10-01 14:54:59 +02:00
timers.rs Rename DOMRefCell<T> to DomRefCell<T> 2017-09-26 09:49:08 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Rename Root<T> to DomRoot<T> 2017-09-26 09:49:10 +02:00