mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
* new_js_regex and matches_js_regex need a CanGc argument Signed-off-by: dericko681 <abonghoderick@gmail.com> * new_js_regex and matches_js_regex need a CanGc argument Signed-off-by: dericko681 <abonghoderick@gmail.com> * edit Propagate CanGc arguments through new_js_regex and matches_js_regex Signed-off-by: dericko681 <abonghoderick@gmail.com> * Propagate CanGc arguments through new_js_regex and matches_js_regex Signed-off-by: dericko681 <abonghoderick@gmail.com> * Propagate CanGc arguments through new_js_regex and matches_js_regex Signed-off-by: dericko681 <abonghoderick@gmail.com> * Propagate CanGc arguments through new_js_regex and matches_js_regex Signed-off-by: dericko681 <abonghoderick@gmail.com> --------- Signed-off-by: dericko681 <abonghoderick@gmail.com>
This commit is contained in:
parent
b5c8164e99
commit
83da63f638
60 changed files with 600 additions and 435 deletions
|
@ -546,7 +546,7 @@ impl Tokenizer {
|
|||
let control = elem.and_then(|e| e.as_maybe_form_control());
|
||||
|
||||
if let Some(control) = control {
|
||||
control.set_form_owner_from_parser(&form);
|
||||
control.set_form_owner_from_parser(&form, can_gc);
|
||||
}
|
||||
},
|
||||
ParseOperation::Pop { node } => {
|
||||
|
|
|
@ -713,7 +713,7 @@ where
|
|||
|
||||
fn next(&mut self) -> Option<DomRoot<Node>> {
|
||||
let next = self.inner.next()?;
|
||||
next.remove_self();
|
||||
next.remove_self(CanGc::note());
|
||||
Some(next)
|
||||
}
|
||||
|
||||
|
@ -1264,7 +1264,7 @@ impl TreeSink for Sink {
|
|||
let control = elem.and_then(|e| e.as_maybe_form_control());
|
||||
|
||||
if let Some(control) = control {
|
||||
control.set_form_owner_from_parser(&form);
|
||||
control.set_form_owner_from_parser(&form, CanGc::note());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue