mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
fix: Replace callargs_is_constructing with is_constructing method (#33101)
Signed-off-by: Koki Saito <saitoto828@gmail.com> Co-authored-by: kokisaito <kosaito@indeed.com>
This commit is contained in:
parent
20273b062a
commit
db312319ae
5 changed files with 10 additions and 15 deletions
|
@ -625,10 +625,6 @@ impl AsCCharPtrPtr for [u8] {
|
|||
}
|
||||
}
|
||||
|
||||
pub unsafe fn callargs_is_constructing(args: &CallArgs) -> bool {
|
||||
(*args.argv_.offset(-1)).is_magic()
|
||||
}
|
||||
|
||||
/// https://searchfox.org/mozilla-central/rev/7279a1df13a819be254fd4649e07c4ff93e4bd45/dom/bindings/BindingUtils.cpp#3300
|
||||
pub unsafe extern "C" fn generic_static_promise_method(
|
||||
cx: *mut JSContext,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue