diff options
author | Michael Wu <mwu@mozilla.com> | 2015-04-06 19:27:56 -0400 |
---|---|---|
committer | Michael Wu <mwu@mozilla.com> | 2015-06-19 18:42:48 -0400 |
commit | 675267b7822d2d6c30c0e36fc22e0191b741b973 (patch) | |
tree | 640b22869e8a7eb7d5657df3074f0b0ccd528c29 /components/layout/wrapper.rs | |
parent | a256f39796270cd3a5f40f33eaa4e407117b0cc6 (diff) | |
download | servo-675267b7822d2d6c30c0e36fc22e0191b741b973.tar.gz servo-675267b7822d2d6c30c0e36fc22e0191b741b973.zip |
Upgrade to SM 39
Diffstat (limited to 'components/layout/wrapper.rs')
-rw-r--r-- | components/layout/wrapper.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index 7bbaaa2bfe9..de7987e307d 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -521,6 +521,7 @@ pub struct LayoutElement<'le> { impl<'le> LayoutElement<'le> { pub fn style_attribute(&self) -> &'le Option<PropertyDeclarationBlock> { + use script::dom::element::ElementHelpers; let style: &Option<PropertyDeclarationBlock> = unsafe { &*self.element.style_attribute().borrow_for_layout() }; @@ -536,6 +537,7 @@ impl<'le> TElement<'le> for LayoutElement<'le> { #[inline] fn get_namespace(self) -> &'le Namespace { + use script::dom::element::ElementHelpers; self.element.namespace() } |