servo/components
bors-servo 7d02c2055d Auto merge of #11341 - nox:raf, r=pcwalton
Use a simple Vec for the animation frame list

Adding an animation frame list is now just pushing a new pair onto the vector,
while canceling one is setting its callback to None.

This means we can't send NoAnimationCallbacksPresent anymore to the constellation
when all entries were cancelled, but I'm not sure that's very important anyway.

The good downside of this change is that when running the callbacks, if no
new one was queued during their execution, we can just swap back the original Vec
into the Document in run_the_animation_frame_callbacks, thus reusing the
original allocation.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11341)
<!-- Reviewable:end -->
2016-05-23 10:50:37 -07:00
..
canvas Update documentation for {CanvasPaintThread, WebGLPaintThread}::new(). 2016-05-19 12:15:02 +02:00
canvas_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
compositing Remove pub uses from compositor_thread.rs. 2016-05-23 08:53:43 +02:00
constellation Auto merge of #11179 - asajeffrey:webdriver-resize-window, r=jgraham 2016-05-23 02:53:48 -07:00
devtools Simplify TOML syntax 2016-04-26 23:51:36 +02:00
devtools_traits Update internal crates to bitflags 0.7 2016-05-17 23:34:04 +02:00
gfx Update string_cache to 0.2.17 2016-05-23 09:19:14 -04:00
gfx_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
layout Update string_cache to 0.2.17 2016-05-23 09:19:14 -04:00
layout_traits Remove pointless phantom arguments to ScriptThreadFactory and LayoutThreadFactory. 2016-05-20 10:20:58 +02:00
msg Responding to review comments. 2016-05-20 09:45:34 -05:00
net Auto merge of #11225 - izgzhen:patch-input-element-file, r=Manishearth 2016-05-23 01:10:46 -07:00
net_traits Auto merge of #11225 - izgzhen:patch-input-element-file, r=Manishearth 2016-05-23 01:10:46 -07:00
plugins Update Rust to 1.10.0-nightly (cd6a40017 2016-05-16) 2016-05-17 15:21:18 +02:00
profile replacing commas with tabs; changing from CSV to TSV profiling 2016-05-19 15:07:18 -07:00
profile_traits Add timeline markers for HTTP requests, JS evaluation, and HTML parsing. 2016-05-18 08:02:42 -05:00
range Use num-traits in range. 2016-04-20 14:59:05 +02:00
script Auto merge of #11341 - nox:raf, r=pcwalton 2016-05-23 10:50:37 -07:00
script_traits Remove pointless phantom arguments to ScriptThreadFactory and LayoutThreadFactory. 2016-05-20 10:20:58 +02:00
servo Auto merge of #11331 - KiChjang:update-string-cache, r=nox 2016-05-23 07:17:58 -07:00
style Update string_cache to 0.2.17 2016-05-23 09:19:14 -04:00
style_traits Removed unused imports 2016-05-15 22:24:26 +03:00
util Update string_cache to 0.2.17 2016-05-23 09:19:14 -04:00
webdriver_server Responding to review comments. 2016-05-20 09:45:34 -05:00