diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-07 11:09:14 -0500 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-07 11:09:14 -0500 |
commit | 1e3edf3ca454b91dfdc267c5b2f4347eda9b7cb6 (patch) | |
tree | 3f9cbdf968bf83453f8f0ee5bb3c26495925346c /components/layout/construct.rs | |
parent | f56848a0e8a9137f128088d1dd0f86e11fad841a (diff) | |
parent | aea03b2f921a41bf78791a877539f1fafab887dd (diff) | |
download | servo-1e3edf3ca454b91dfdc267c5b2f4347eda9b7cb6.tar.gz servo-1e3edf3ca454b91dfdc267c5b2f4347eda9b7cb6.zip |
Auto merge of #11656 - Ms2ger:reduce-dom-exposure, r=nox
Reduce the amount of dom code used outside the script crate.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11656)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/construct.rs')
-rw-r--r-- | components/layout/construct.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index 8d37b6aa6ba..3dfcfdf2689 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -34,9 +34,9 @@ use inline::{InlineFragmentNodeInfo, LAST_FRAGMENT_OF_ELEMENT}; use list_item::{ListItemFlow, ListStyleTypeContent}; use multicol::{MulticolFlow, MulticolColumnFlow}; use parallel; -use script::dom::bindings::inheritance::{CharacterDataTypeId, ElementTypeId}; -use script::dom::bindings::inheritance::{HTMLElementTypeId, NodeTypeId}; -use script::dom::htmlobjectelement::is_image_data; +use script::layout_interface::is_image_data; +use script::layout_interface::{CharacterDataTypeId, ElementTypeId}; +use script::layout_interface::{HTMLElementTypeId, NodeTypeId}; use std::borrow::ToOwned; use std::collections::LinkedList; use std::marker::PhantomData; |