aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/import.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2025-02-12 00:41:00 -0500
committerGitHub <noreply@github.com>2025-02-12 05:41:00 +0000
commitcb3ecd4417194be58e219d1cf725b3ab6ec02a3a (patch)
treee3b07f459179af93bf39bd26e0fdc653be6d8f58 /components/script/dom/bindings/import.rs
parentcf3ad2de774c8f8022135b0a9d466c197d961aa2 (diff)
downloadservo-cb3ecd4417194be58e219d1cf725b3ab6ec02a3a.tar.gz
servo-cb3ecd4417194be58e219d1cf725b3ab6ec02a3a.zip
bindings: Support non-object this values for callbacks. (#35427)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/bindings/import.rs')
-rw-r--r--components/script/dom/bindings/import.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/import.rs b/components/script/dom/bindings/import.rs
index 30c23d33e2f..756e8ef9f39 100644
--- a/components/script/dom/bindings/import.rs
+++ b/components/script/dom/bindings/import.rs
@@ -14,11 +14,11 @@ pub(crate) mod base {
};
pub(crate) use js::jsval::{JSVal, NullValue, ObjectOrNullValue, ObjectValue, UndefinedValue};
pub(crate) use js::panic::maybe_resume_unwind;
- pub(crate) use js::rust::wrappers::{JS_CallFunctionValue, JS_WrapValue};
+ pub(crate) use js::rust::wrappers::{Call, JS_WrapValue};
pub(crate) use js::rust::{HandleObject, HandleValue, MutableHandleObject, MutableHandleValue};
pub(crate) use crate::dom::bindings::callback::{
- wrap_call_this_object, CallSetup, CallbackContainer, CallbackFunction, CallbackInterface,
+ wrap_call_this_value, CallSetup, CallbackContainer, CallbackFunction, CallbackInterface,
CallbackObject, ExceptionHandling, ThisReflector,
};
pub(crate) use crate::dom::bindings::codegen::Bindings::AudioNodeBinding::{