diff options
Diffstat (limited to 'components/script/dom/bindings/callback.rs')
-rw-r--r-- | components/script/dom/bindings/callback.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/callback.rs b/components/script/dom/bindings/callback.rs index ef3819438cb..7d4cdc56802 100644 --- a/components/script/dom/bindings/callback.rs +++ b/components/script/dom/bindings/callback.rs @@ -116,8 +116,8 @@ impl CallbackInterface { } /// Wraps the reflector for `p` into the compartment of `cx`. -pub fn WrapCallThisObject<T: Reflectable>(cx: *mut JSContext, - p: JSRef<T>) -> *mut JSObject { +pub fn wrap_call_this_object<T: Reflectable>(cx: *mut JSContext, + p: JSRef<T>) -> *mut JSObject { let mut obj = p.reflector().get_jsobject(); assert!(!obj.is_null()); |