From 6219d5b24bc249108063a3d6a8c697c0e056eb1d Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Sun, 27 Jul 2014 22:32:29 +0200 Subject: [PATCH] Remove references to nullable any from testbinding. 'any' is inherently nullable, so nullable any doesn't exist. --- src/components/script/dom/testbinding.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/script/dom/testbinding.rs b/src/components/script/dom/testbinding.rs index bf3e5f2d232..4a3ff1fadd9 100644 --- a/src/components/script/dom/testbinding.rs +++ b/src/components/script/dom/testbinding.rs @@ -129,7 +129,6 @@ pub trait TestBindingMethods { fn ReceiveNullableByteString(&self) -> Option { Some(ByteString::new(vec!())) } fn ReceiveNullableEnum(&self) -> Option { Some(_empty) } fn ReceiveNullableInterface(&self) -> Option>; - fn ReceiveNullableAny(&self, _: *mut JSContext) -> Option { Some(NullValue()) } fn ReceiveNullableUnion(&self) -> Option { Some(eLong(0)) } fn ReceiveNullableUnion2(&self) -> Option { Some(eString("".to_string())) } @@ -170,7 +169,6 @@ pub trait TestBindingMethods { fn PassNullableInterface(&self, _: Option>) {} fn PassNullableUnion(&self, _: Option) {} fn PassNullableUnion2(&self, _: Option) {} - fn PassNullableAny(&self, _: *mut JSContext, _: Option) {} fn PassOptionalBoolean(&self, _: Option) {} fn PassOptionalByte(&self, _: Option) {}