mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
Remove get_* on getters as per RFC 0344.
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user