diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2015-09-27 13:37:57 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2015-10-14 18:45:35 +0200 |
commit | aab2c40389c71c4b0db3ffa75bdec99cd440b8af (patch) | |
tree | bfb10ce6c6c81cbc33b2ca34b8c8447d943ffd6a /components/layout/construct.rs | |
parent | 55769b2fbf24ed84ee0f8ea5fe856e5fd29d8e60 (diff) | |
download | servo-aab2c40389c71c4b0db3ffa75bdec99cd440b8af.tar.gz servo-aab2c40389c71c4b0db3ffa75bdec99cd440b8af.zip |
Generate the TypeId enums in codegen
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 73c353980a2..ff1ff42a1d2 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -33,11 +33,9 @@ use inline::{InlineFragmentNodeInfo, LAST_FRAGMENT_OF_ELEMENT}; use list_item::{ListItemFlow, ListStyleTypeContent}; use multicol::MulticolFlow; use parallel; -use script::dom::characterdata::CharacterDataTypeId; -use script::dom::element::ElementTypeId; -use script::dom::htmlelement::HTMLElementTypeId; +use script::dom::bindings::codegen::InheritTypes::{CharacterDataTypeId, ElementTypeId}; +use script::dom::bindings::codegen::InheritTypes::{HTMLElementTypeId, NodeTypeId}; use script::dom::htmlobjectelement::is_image_data; -use script::dom::node::NodeTypeId; use std::borrow::ToOwned; use std::collections::LinkedList; use std::mem; |