aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/proxyhandler.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-09-27 10:29:47 +0200
committerMs2ger <Ms2ger@gmail.com>2016-09-27 10:29:47 +0200
commit6928fbfa31e0c48b080ce668c38597427ef8a5ca (patch)
treea44c051f53e176b371bf6802f40211c456094e46 /components/script/dom/bindings/proxyhandler.rs
parent4ceea0426c933c853b3479acaa3e523c2b34a467 (diff)
downloadservo-6928fbfa31e0c48b080ce668c38597427ef8a5ca.tar.gz
servo-6928fbfa31e0c48b080ce668c38597427ef8a5ca.zip
Pass a MutableHandle to fill_property_descriptor.
Diffstat (limited to 'components/script/dom/bindings/proxyhandler.rs')
-rw-r--r--components/script/dom/bindings/proxyhandler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/proxyhandler.rs b/components/script/dom/bindings/proxyhandler.rs
index cacac064376..b5230b1b81a 100644
--- a/components/script/dom/bindings/proxyhandler.rs
+++ b/components/script/dom/bindings/proxyhandler.rs
@@ -186,7 +186,7 @@ pub fn ensure_expando_object(cx: *mut JSContext, obj: HandleObject) -> *mut JSOb
/// Set the property descriptor's object to `obj` and set it to enumerable,
/// and writable if `readonly` is true.
-pub fn fill_property_descriptor(desc: &mut PropertyDescriptor,
+pub fn fill_property_descriptor(mut desc: MutableHandle<PropertyDescriptor>,
obj: *mut JSObject,
attrs: u32) {
desc.obj = obj;