aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/construct.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2014-07-19 18:03:24 +0100
committerSimon Sapin <simon.sapin@exyr.org>2014-07-21 20:21:36 +0100
commit779cb44a44b195eb7a88e69a4f2e5551f85448e1 (patch)
tree9f8809e804c36ea8b141da6f2bd3e8a2b073105f /src/components/layout/construct.rs
parentb902e0f8f5c54614ae187e8e438d2f1dc242feb3 (diff)
downloadservo-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.rs3
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;