aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2020-03-26 16:07:29 -0400
committerJosh Matthews <josh@joshmatthews.net>2020-03-31 17:15:44 -0400
commit6ab7a50b31ae1551e28d1a67f396715fa560ced0 (patch)
treef9b7c488cbfc038094e79b0d2a7b2e8d47df9b0d /components/script/script_thread.rs
parent148c24c29c15c70bba448b9c1095174fbf6594dd (diff)
downloadservo-6ab7a50b31ae1551e28d1a67f396715fa560ced0.tar.gz
servo-6ab7a50b31ae1551e28d1a67f396715fa560ced0.zip
Cache the result of retrieving an element's client rectangle from layout.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 94aac4841da..714c6857d9c 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -3709,7 +3709,7 @@ impl ScriptThread {
new_size
);
window.set_window_size(new_size);
- window.force_reflow(ReflowGoal::Full, ReflowReason::WindowResize);
+ window.force_reflow(ReflowGoal::Full, ReflowReason::WindowResize, None);
// http://dev.w3.org/csswg/cssom-view/#resizing-viewports
if size_type == WindowSizeType::Resize {