diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2014-07-19 18:03:24 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2014-07-21 20:21:36 +0100 |
commit | 779cb44a44b195eb7a88e69a4f2e5551f85448e1 (patch) | |
tree | 9f8809e804c36ea8b141da6f2bd3e8a2b073105f /src/components/layout/construct.rs | |
parent | b902e0f8f5c54614ae187e8e438d2f1dc242feb3 (diff) | |
download | servo-779cb44a44b195eb7a88e69a4f2e5551f85448e1.tar.gz servo-779cb44a44b195eb7a88e69a4f2e5551f85448e1.zip |
Move is_image_data() where it’s used.
Diffstat (limited to 'src/components/layout/construct.rs')
-rw-r--r-- | src/components/layout/construct.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/layout/construct.rs b/src/components/layout/construct.rs index 113e4a28b60..27d7f480677 100644 --- a/src/components/layout/construct.rs +++ b/src/components/layout/construct.rs @@ -56,9 +56,10 @@ use script::dom::element::{HTMLTableRowElementTypeId, HTMLTableSectionElementTyp use script::dom::node::{CommentNodeTypeId, DoctypeNodeTypeId, DocumentFragmentNodeTypeId}; use script::dom::node::{DocumentNodeTypeId, ElementNodeTypeId, ProcessingInstructionNodeTypeId}; use script::dom::node::{TextNodeTypeId}; +use script::dom::htmlobjectelement::is_image_data; use servo_util::namespace; use servo_util::range::Range; -use servo_util::url::{is_image_data, parse_url}; +use servo_util::url::parse_url; use std::mem; use std::sync::atomics::Relaxed; use style::ComputedValues; |