aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/proxyhandler.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-29 17:15:12 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-29 17:28:06 +0100
commit6920aa970d0ff85afd148902a93a9252e4099797 (patch)
treec565e4b35733cc23598ac29d817aedc2092a0662 /components/script/dom/bindings/proxyhandler.rs
parentd7de6973c7ed07b6b163a7dab582bf49e09223b0 (diff)
downloadservo-6920aa970d0ff85afd148902a93a9252e4099797.tar.gz
servo-6920aa970d0ff85afd148902a93a9252e4099797.zip
Rename delete_ to delete.
Diffstat (limited to 'components/script/dom/bindings/proxyhandler.rs')
-rw-r--r--components/script/dom/bindings/proxyhandler.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/proxyhandler.rs b/components/script/dom/bindings/proxyhandler.rs
index 186e2ef3591..4f03b6127fe 100644
--- a/components/script/dom/bindings/proxyhandler.rs
+++ b/components/script/dom/bindings/proxyhandler.rs
@@ -77,8 +77,8 @@ pub unsafe extern fn define_property(cx: *mut JSContext, proxy: *mut JSObject,
}
/// Deletes an expando off the given `proxy`.
-pub unsafe extern fn delete_(cx: *mut JSContext, proxy: *mut JSObject, id: jsid,
- bp: *mut bool) -> bool {
+pub unsafe extern fn delete(cx: *mut JSContext, proxy: *mut JSObject, id: jsid,
+ bp: *mut bool) -> bool {
let expando = GetExpandoObject(proxy);
if expando.is_null() {
*bp = true;