mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
fixes dereferencing on an immutable reference (#31864)
This commit is contained in:
parent
585e0d69cd
commit
f7669b5238
32 changed files with 76 additions and 77 deletions
|
@ -3463,7 +3463,7 @@ impl ScriptThread {
|
|||
|
||||
/// Reflows non-incrementally, rebuilding the entire layout tree in the process.
|
||||
fn rebuild_and_force_reflow(&self, document: &Document, reason: ReflowReason) {
|
||||
let window = window_from_node(&*document);
|
||||
let window = window_from_node(document);
|
||||
document.dirty_all_nodes();
|
||||
window.reflow(ReflowGoal::Full, reason);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue