aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2017-07-18 14:57:22 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2017-07-31 13:02:28 -0500
commit936dd3ef634cf6e6bfce1925a25f3fe985faa635 (patch)
tree0387ce3f98d5eed8bbb07e801bf1b894f5627a09 /components/script_layout_interface
parentb35791f86fed329046dc54776f1ba73565e0c31f (diff)
downloadservo-936dd3ef634cf6e6bfce1925a25f3fe985faa635.tar.gz
servo-936dd3ef634cf6e6bfce1925a25f3fe985faa635.zip
Speculatively evaluate paint functions during style.
Diffstat (limited to 'components/script_layout_interface')
-rw-r--r--components/script_layout_interface/message.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index 9c8a3fbbd47..e74447ade26 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -89,7 +89,7 @@ pub enum Msg {
UpdateScrollStateFromScript(ScrollState),
/// Tells layout that script has added some paint worklet modules.
- RegisterPaint(Atom, Vec<Atom>, Arc<Painter>),
+ RegisterPaint(Atom, Vec<Atom>, Box<Painter>),
/// Send to layout the precise time when the navigation started.
SetNavigationStart(f64),