aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-11-06 16:13:43 -0500
committerJosh Matthews <josh@joshmatthews.net>2019-11-06 16:13:55 -0500
commit91dfa354b16535f1c55c722b10cf4538f2385e0e (patch)
tree9a5478316b86291294812809e62504ecfb14972e /components/script_layout_interface
parent2aa5ddf9221b77a6144391eb37855737a9ede083 (diff)
downloadservo-91dfa354b16535f1c55c722b10cf4538f2385e0e.tar.gz
servo-91dfa354b16535f1c55c722b10cf4538f2385e0e.zip
Ensure layout/script always have a correct viewport size when a new pipeline is created.
Diffstat (limited to 'components/script_layout_interface')
-rw-r--r--components/script_layout_interface/message.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index 66e0e446cfa..fb2bac65d07 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -230,4 +230,5 @@ pub struct LayoutThreadInit {
pub image_cache: Arc<dyn ImageCache>,
pub paint_time_metrics: PaintTimeMetrics,
pub layout_is_busy: Arc<AtomicBool>,
+ pub window_size: WindowSizeData,
}