diff options
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index c591cd955a3..f202421a362 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -1841,7 +1841,7 @@ impl ScriptThread { // Really what needs to happen is that this needs to go through layout to ask which // layer the element belongs to, and have it send the scroll message to the // compositor. - let rect = element.upcast::<Node>().get_bounding_content_box(); + let rect = element.upcast::<Node>().bounding_content_box(); // In order to align with element edges, we snap to unscaled pixel boundaries, since the // paint thread currently does the same for drawing elements. This is important for pages |