diff options
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 } } |