diff options
author | bors-servo <release+servo@mozilla.com> | 2014-02-28 11:37:40 -0500 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-02-28 11:37:40 -0500 |
commit | 021d32368d569298da619041c9ffe262c91063e4 (patch) | |
tree | 40535f318ac36d9d617044dc83933b1d27ad1d9f /src/components/main/layout/construct.rs | |
parent | def5483579fad1e7f77ca96bd10fc5eb85e37740 (diff) | |
parent | 39e571ae4e23e7c2b96f33773c0c1ea057968487 (diff) | |
download | servo-021d32368d569298da619041c9ffe262c91063e4.tar.gz servo-021d32368d569298da619041c9ffe262c91063e4.zip |
auto merge of #1781 : hgentry/servo/mozilla-servo, r=metajack
Simple change. I hope I'm using github correctly; I'm not too familiar with the PR system. Fixes #1777.
Diffstat (limited to 'src/components/main/layout/construct.rs')
-rw-r--r-- | src/components/main/layout/construct.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/main/layout/construct.rs b/src/components/main/layout/construct.rs index 35cba8458bb..d91d538464f 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) |