From 789807b7b09e0742a197c98efd2f81b85b751a57 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 19 Jul 2016 20:29:22 +0200 Subject: Remove the ComputedValue traits and style_struct_traits --- components/layout/context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/layout/context.rs') 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, + style_context: LocalStyleContext, font_context: RefCell, } @@ -108,7 +108,7 @@ impl<'a> StyleContext<'a, ServoSelectorImpl> for LayoutContext<'a> { &self.shared.style_context } - fn local_context(&self) -> &LocalStyleContext { + fn local_context(&self) -> &LocalStyleContext { &self.cached_local_layout_context.style_context } } -- cgit v1.2.3