diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2016-07-19 20:29:22 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2016-07-20 08:42:40 +0200 |
commit | 789807b7b09e0742a197c98efd2f81b85b751a57 (patch) | |
tree | e093027760cf23719d9f6b3e279eab46e9b3168f /components/layout/context.rs | |
parent | b2a7e4437391abd92486d5bef879fadadabab162 (diff) | |
download | servo-789807b7b09e0742a197c98efd2f81b85b751a57.tar.gz servo-789807b7b09e0742a197c98efd2f81b85b751a57.zip |
Remove the ComputedValue traits and style_struct_traits
Diffstat (limited to 'components/layout/context.rs')
-rw-r--r-- | components/layout/context.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/context.rs b/components/layout/context.rs index 08237579626..9fed4959310 100644 --- a/components/layout/context.rs +++ b/components/layout/context.rs @@ -31,7 +31,7 @@ use url::Url; use util::opts; struct LocalLayoutContext { - style_context: LocalStyleContext<ServoSelectorImpl>, + style_context: LocalStyleContext, font_context: RefCell<FontContext>, } @@ -108,7 +108,7 @@ impl<'a> StyleContext<'a, ServoSelectorImpl> for LayoutContext<'a> { &self.shared.style_context } - fn local_context(&self) -> &LocalStyleContext<ServoSelectorImpl> { + fn local_context(&self) -> &LocalStyleContext { &self.cached_local_layout_context.style_context } } |