diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-07-04 12:55:01 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-07-04 12:55:01 +0200 |
commit | 2f88b84e070ba0690e1d64074817f3b0e45133eb (patch) | |
tree | fcbdcc720b62ff07ed64f11a31ca18b5a06ad522 /components/script/dom/htmliframeelement.rs | |
parent | 02d84a13470271d18198af118d4f25ee45fe6917 (diff) | |
download | servo-2f88b84e070ba0690e1d64074817f3b0e45133eb.tar.gz servo-2f88b84e070ba0690e1d64074817f3b0e45133eb.zip |
Remove *Cast::from_actual.
Since JSRef was removed, from_actual duplicates from_ref.
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r-- | components/script/dom/htmliframeelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs index 81440e6b556..99af406790b 100644 --- a/components/script/dom/htmliframeelement.rs +++ b/components/script/dom/htmliframeelement.rs @@ -180,7 +180,7 @@ impl RawHTMLIFrameElementHelpers for HTMLIFrameElement { #[allow(unsafe_code)] fn get_width(&self) -> LengthOrPercentageOrAuto { unsafe { - element::get_attr_for_layout(ElementCast::from_actual(&*self), + element::get_attr_for_layout(ElementCast::from_ref(&*self), &ns!(""), &atom!("width")).map(|attribute| { str::parse_length(&**attribute.value_for_layout()) @@ -191,7 +191,7 @@ impl RawHTMLIFrameElementHelpers for HTMLIFrameElement { #[allow(unsafe_code)] fn get_height(&self) -> LengthOrPercentageOrAuto { unsafe { - element::get_attr_for_layout(ElementCast::from_actual(&*self), + element::get_attr_for_layout(ElementCast::from_ref(&*self), &ns!(""), &atom!("height")).map(|attribute| { str::parse_length(&**attribute.value_for_layout()) |