mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Make RootedVec/RootCollection #[no_move]; improve code (fixes #5737)
This commit is contained in:
parent
dcb0a0eab6
commit
369a568264
7 changed files with 8 additions and 8 deletions
|
@ -937,7 +937,7 @@ impl ScriptTask {
|
|||
self.find_iframe(doc.r(), old_subpage_id)
|
||||
}).root();
|
||||
|
||||
frame_element.as_ref().unwrap().r().update_subpage_id(new_subpage_id);
|
||||
frame_element.r().unwrap().update_subpage_id(new_subpage_id);
|
||||
}
|
||||
|
||||
/// Handles a notification that reflow completed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue