aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing
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/compositing
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/compositing')
-rw-r--r--components/compositing/compositor.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/components/compositing/compositor.rs b/components/compositing/compositor.rs
index 37cbea1df4f..3df7e1a8a0c 100644
--- a/components/compositing/compositor.rs
+++ b/components/compositing/compositor.rs
@@ -346,9 +346,6 @@ impl<Window: WindowMethods + ?Sized> IOCompositor<Window> {
// Set the size of the root layer.
compositor.update_zoom_transform();
- // Tell the constellation about the initial window size.
- compositor.send_window_size(WindowSizeType::Initial);
-
compositor
}
@@ -638,8 +635,6 @@ impl<Window: WindowMethods + ?Sized> IOCompositor<Window> {
self.create_pipeline_details_for_frame_tree(&frame_tree);
- self.send_window_size(WindowSizeType::Initial);
-
self.frame_tree_id.next();
}