diff options
author | Josh Matthews <josh@joshmatthews.net> | 2025-02-12 00:41:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-12 05:41:00 +0000 |
commit | cb3ecd4417194be58e219d1cf725b3ab6ec02a3a (patch) | |
tree | e3b07f459179af93bf39bd26e0fdc653be6d8f58 /components/script/dom/bindings/import.rs | |
parent | cf3ad2de774c8f8022135b0a9d466c197d961aa2 (diff) | |
download | servo-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.rs | 4 |
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::{ |