mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Replace CanGC note calls with arguments passed by callers (#33978)
Signed-off-by: Wulan Seruniati Salim <wulanseruniati@gmail.com> Co-authored-by: Wulan Seruniati Salim <lauwwulan1806@gmail.com>
This commit is contained in:
parent
9d75862c7d
commit
3ed778150f
3 changed files with 5 additions and 5 deletions
|
@ -2280,7 +2280,7 @@ impl Window {
|
|||
load_data.url.clone(),
|
||||
replace,
|
||||
));
|
||||
doc.check_and_scroll_fragment(fragment, CanGc::note());
|
||||
doc.check_and_scroll_fragment(fragment, can_gc);
|
||||
let this = Trusted::new(self);
|
||||
let old_url = doc.url().into_string();
|
||||
let new_url = load_data.url.clone().into_string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue