aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/windowproxy.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2018-12-09 14:16:14 -0500
committerJosh Matthews <josh@joshmatthews.net>2018-12-14 13:12:46 -0500
commit231a37be24ee62cef69d69e0d1919b7b7f80cfed (patch)
tree5534da80c10e6c47cfb22687311a75cdcaf9fa33 /components/script/dom/windowproxy.rs
parent34e77f62afcd4a4f64bc28bb8c6fb45b4c0a983a (diff)
downloadservo-231a37be24ee62cef69d69e0d1919b7b7f80cfed.tar.gz
servo-231a37be24ee62cef69d69e0d1919b7b7f80cfed.zip
Initial window sizes are mandatory.
Diffstat (limited to 'components/script/dom/windowproxy.rs')
-rw-r--r--components/script/dom/windowproxy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/windowproxy.rs b/components/script/dom/windowproxy.rs
index 80850e804b5..65362ee0d17 100644
--- a/components/script/dom/windowproxy.rs
+++ b/components/script/dom/windowproxy.rs
@@ -289,7 +289,7 @@ impl WindowProxy {
load_data: load_data,
pipeline_port: pipeline_receiver,
content_process_shutdown_chan: None,
- window_size: None,
+ window_size: window.window_size(),
layout_threads: PREFS.get("layout.threads").as_u64().expect("count") as usize,
};
let constellation_msg = ScriptMsg::ScriptNewAuxiliary(load_info, pipeline_sender);