aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/construct.rs
diff options
context:
space:
mode:
authorhgentry <harrison@gentryville.net>2014-02-27 15:35:27 -0500
committerhgentry <harrison@gentryville.net>2014-02-27 15:35:27 -0500
commit39e571ae4e23e7c2b96f33773c0c1ea057968487 (patch)
tree078fa542ea0498d890524d480adaf5d5efccbf03 /src/components/main/layout/construct.rs
parentab72c473cde0cd69a44dc274d3ecf18207af785c (diff)
downloadservo-39e571ae4e23e7c2b96f33773c0c1ea057968487.tar.gz
servo-39e571ae4e23e7c2b96f33773c0c1ea057968487.zip
Renamed HTMLIframeElementTypeId to HTMLIFrameElementTypeId
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r--src/components/main/layout/construct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs
index 0b43884c01f..4a11daa5072 100644
--- a/src/components/main/layout/construct.rs
+++ b/src/components/main/layout/construct.rs
@@ -36,7 +36,7 @@ use layout::wrapper::{PostorderNodeMutTraversal, TLayoutNode, ThreadSafeLayoutNo
use gfx::font_context::FontContext;
use script::dom::bindings::codegen::InheritTypes::TextCast;
use script::dom::bindings::js::JS;
-use script::dom::element::{HTMLIframeElementTypeId, HTMLImageElementTypeId, HTMLObjectElementTypeId};
+use script::dom::element::{HTMLIFrameElementTypeId, HTMLImageElementTypeId, HTMLObjectElementTypeId};
use script::dom::node::{CommentNodeTypeId, DoctypeNodeTypeId, DocumentFragmentNodeTypeId};
use script::dom::node::{DocumentNodeTypeId, ElementNodeTypeId, ProcessingInstructionNodeTypeId};
use script::dom::node::{TextNodeTypeId};
@@ -274,7 +274,7 @@ impl<'a> FlowConstructor<'a> {
-> SpecificBoxInfo {
match node.type_id() {
ElementNodeTypeId(HTMLImageElementTypeId) => self.build_box_info_for_image(node, node.image_url()),
- ElementNodeTypeId(HTMLIframeElementTypeId) => IframeBox(IframeBoxInfo::new(node)),
+ ElementNodeTypeId(HTMLIFrameElementTypeId) => IframeBox(IframeBoxInfo::new(node)),
ElementNodeTypeId(HTMLObjectElementTypeId) => {
let data = node.get_object_data(&self.layout_context.url);
self.build_box_info_for_image(node, data)