aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/callback.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-29 21:12:00 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-29 21:12:00 +0100
commitbbf13590243866f1ca57a56ebd4be1d9bf04a56f (patch)
tree4265b06efdd4b69c56d11f25b9406ca875e15e5f /components/script/dom/bindings/callback.rs
parentcfbe4644281b2b2d0fe955a2594badbef2083585 (diff)
downloadservo-bbf13590243866f1ca57a56ebd4be1d9bf04a56f.tar.gz
servo-bbf13590243866f1ca57a56ebd4be1d9bf04a56f.zip
Rename WrapCallThisObject to wrap_call_this_object.
Diffstat (limited to 'components/script/dom/bindings/callback.rs')
-rw-r--r--components/script/dom/bindings/callback.rs4
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());