diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-11-09 09:09:31 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-11-09 09:09:31 -0700 |
commit | 182a9a70de44cbefcaeeb0e8d19e3831a83b40b3 (patch) | |
tree | 5ff69b9f8457c4984efd4e99555d8a933730ac3c /components/script/dom/bindings | |
parent | caba4b3e76b50018c4ee805532f7784c34cea92a (diff) | |
parent | aa83388f38d19f26503d3a2bceea0b6a963bd9f3 (diff) | |
download | servo-182a9a70de44cbefcaeeb0e8d19e3831a83b40b3.tar.gz servo-182a9a70de44cbefcaeeb0e8d19e3831a83b40b3.zip |
auto merge of #3942 : Ms2ger/servo/VoidVal, r=jdm
There are no undefined constants in IDL.
Diffstat (limited to 'components/script/dom/bindings')
-rw-r--r-- | components/script/dom/bindings/codegen/CodegenRust.py | 1 | ||||
-rw-r--r-- | components/script/dom/bindings/utils.rs | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py index 72bc0f4fdb4..d90c7cc5be9 100644 --- a/components/script/dom/bindings/codegen/CodegenRust.py +++ b/components/script/dom/bindings/codegen/CodegenRust.py @@ -4539,7 +4539,6 @@ class CGBindingRoot(CGThing): 'dom::bindings::utils::{Reflectable}', 'dom::bindings::utils::{squirrel_away_unique}', 'dom::bindings::utils::{ThrowingConstructor, unwrap, unwrap_jsmanaged}', - 'dom::bindings::utils::VoidVal', 'dom::bindings::utils::get_dictionary_property', 'dom::bindings::utils::{NativeProperties, NativePropertyHooks}', 'dom::bindings::trace::JSTraceable', diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs index dff63a23c51..f8b497bdcd4 100644 --- a/components/script/dom/bindings/utils.rs +++ b/components/script/dom/bindings/utils.rs @@ -198,8 +198,6 @@ pub enum ConstantVal { BoolVal(bool), /// `null` constant. NullVal, - /// `undefined` constant. - VoidVal } /// Representation of an IDL constant. @@ -220,7 +218,6 @@ impl ConstantSpec { UintVal(u) => UInt32Value(u), DoubleVal(d) => DoubleValue(d), BoolVal(b) => BooleanValue(b), - VoidVal => UndefinedValue(), } } } |